Very handy--much cleaner and simpler than a lot of implementations out there.
One question: Do you have recommendations on how to read/set the state of the switch using javascript?
pierus () - 6 years ago - Reply 0
Hi. I needed that to. I found out that this do the trick:
<% If yourboolianvariable = true Then %>
<script type='text/javascript'>
window.onload = function(){
document.getElementById("yourcheckboxid").checked = true;
}
</script>
<% End If %>
TerjeK () - 6 years ago - Reply 0