I need to get the value of a checkbox put on my form within a javascript function. This is the code i'm using right now:
var Excludeviv = document.getElementById("ctl00_ctl00_cphMain_cphMainMenu_chkExcludeviv").value;
i put an alert to check the value that Exludeviv contains. i always get "on", i don't understand. Can anyone help me on this ? Thanks in advance