bonjour,
avant de me lancer j'essaie quelque chose de très simple mais ça marche pas !!
et comme dirait un chanteur : il est où le problème ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 function afficher_cal(){ document.getElementById('madiv').innerHTML = "<table border=1> <tr>"; document.getElementById('madiv').innerHTML = "<td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td>"; document.getElementById('madiv').innerHTML = "</tr></table>"; } </SCRIPT> bouton pour afficher le tableau <input type='button' name='voir_cal' value='calendar' onclick='javascript:afficher_cal()';> <div id="madiv" style="width:15em;height:10em;background-color:yellow;"> </div>
merci
Partager