Spero di non essere nella sezione del forum sbagliata...
Vorrei fare in modo che spuntando la checkbox si aprano a cascata i campi.
Non riesco a trovare l'errore nel codice qui sotto. Mi potete aiutare?![]()
Graziecodice:<table> <tr><td height="23"> <input type="checkbox" name="dest_ord" id="dest_ord" value="true" onClick="if (this.checked) {Visibile('dest_merce')} else {Invisibile('dest_merce')};" > <label for="dest_ord">Indirizzo di consegna (se differente)</label> </td> </tr> </table> <table style="display:none;" id="dest_merce"> <tr> <td colspan="2"><hr></td> </tr> <tr> <td width="300"><font face="Verdana,Verdana,Helvetica" size="-1">Denominazione spedizione:</font></td> <td width="300"><INPUT type="text" name="Denominazione_spedizione" SIZE="30"></td></tr> <tr> <td><font face="Verdana,Verdana,Helvetica" size=-1>Indirizzo:</font></td> <td><input type="text" name="Indirizzo_spedizione" size="30"></td> </tr> <tr> <TD width="300"><font face="Verdana,Verdana,Helvetica" size=-1>CAP.:</font></td> <TD width="300"><input type="text" name="Cap_spedizione" size="30"></td> </tr> <tr> <TD width="300"> <FONT FACE="Verdana,Verdana,Helvetica" SIZE=-1>Città:</FONT></td> <td><input type="text" name="Localita_spedizione" size="30"></td> </tr> </table>

Rispondi quotando
