Ciao,
ho trovato questo script su questo sito:
codice:<head> <script type="text/javascript" language="JavaScript"> <!-- function checkAll(elm,name){ for (var i = 0; i < elm.form.elements.length; i++) if (elm.form.elements[i].name.indexOf(name) == 0) elm.form.elements[i].checked = elm.checked; } //--> </script> </head> <body > <div align="center"> <form> <input type="checkbox" onClick="checkAll(this,'check')" /> Spunta tutti 1 <input type="checkbox" name="check1" /> 2 <input type="checkbox" name="check2" /> 3 <input type="checkbox" name="check3" /> </form>
vorrei sapere come posso inserire il checkbox ' spunta tutti' in basso, alla fine.
Grazie

Rispondi quotando