ciao a tutti..
sto provando a fare questo:
dove il campo suite è:codice:var report report=document.form.report.value; var suite suite=document.form.suite.value; alert(suite) window.open('takesess.asp?report='+report+'&suite='+suite);
ma ricevo il messaggio "undefined"....codice:<td colspan="2"> <div align="left"> <input type="checkbox" name="suite" value="Final Cut 1" onClick="ctr(this)" <%if session("suite")="Final Cut 1" then Response.Write("checked")%>> <span class=h6>Final Cut 1</span> <input type="checkbox" name="suite" value="Smoke 2 " onClick="ctr(this)" <%if session("suite")="Smoke 2" then Response.Write("checked")%>> <span class=h6>Smoke 2</span> <input type="checkbox" name="suite" value="Lustre 1" onClick="ctr(this)" <%if session("suite")="Lustre 1" then Response.Write("checked")%>> <span class=h6>Lustre 1</span> <input type="checkbox" name="suite" value="Smoke 1" onClick="ctr(this)" <%if session("suite")="Smoke 1" then Response.Write("checked")%>> <span class=h6>Smoke 1</span> <input type="checkbox" name="suite" value="Lustre 2" onClick="ctr(this)" <%if session("suite")="Lustre 2" then Response.Write("checked")%>> <span class=h6>Lustre 2</span> </div> </td>
come faccio a fargli leggere il valore della checkbox????
grazie mille...![]()

Rispondi quotando