Salve,
ho provato a fare così:
codice:
<div id="label-switch" class="make-switch switch-mini" data-on-label= "SI" data-off-label="NO">
<%
if rs.fields("pag1") = "NO" then
%><input type="checkbox" onchange="window.location.href='gestione_pag1.asp?pag=<%=request.querystring("pag")%>&att=SI'">
<%
else
%>
<input type="checkbox" checked onchange="window.location.href='gestione_pag1.asp?pag=<%=request.querystring("pag")%>&att=NO'" >
<%
end if
%>
</div>
funziona correttamente, ma è brutto vedere l'effetto refresh della pagina...sarebbe possibile evitarlo?
Grazie
g.