io ho fatto così , e cio che mi restituisce e sbagliato, mi da tutto insieme. dove o sbagliato???codice:<html><head> <script type="text/javascript"> function F1(a) { var elmCella1 = document.getElementById("cella1"); elmCella1.innerHTML="pippo non è felice"; var elmCella2 = document.getElementById("cella2"); elmCella2.innerHTML="pluto si"; var elmCella3 = document.getElementById("cella3"); elmCella1.innerHTML="pippo non è felice"; var elmCella4 = document.getElementById("cella4"); elmCella2.innerHTML="pluto "; } </script> </head> <body> <span style=''><b>Seleziona</b></span> <SELECT onChange="F1(this.value)"> <OPTION VALUE="1"> pippo</OPTION> <OPTION VALUE="2"> pluto</OPTION> </SELECT> <table border="1"> <tr> <td id='cella1'><td> <td id='cella2'><td> </tr> <tr> <td id='cella3'><td> <td id='cella4'><td> </tr> </table> </body> </html>
prometto che domani mi leggo il tutorial

Rispondi quotando