I have an HTML page, that calls an ASP javascript page on "Submit".
Everything works correctly except that I can't get the value of the
checkboxes. I've been trying code like this:
var s = "Off"
if (Request.Form(" EmailCbx").Chec ked == true)
{s = Request.Form("E mailCbx").name}
No matter what I do (I've tried several other things too) the value always
returns as "Off" What am I doing wrong?
Also, is there some way to get values from all my checkboxes that are
checked?
Everything works correctly except that I can't get the value of the
checkboxes. I've been trying code like this:
var s = "Off"
if (Request.Form(" EmailCbx").Chec ked == true)
{s = Request.Form("E mailCbx").name}
No matter what I do (I've tried several other things too) the value always
returns as "Off" What am I doing wrong?
Also, is there some way to get values from all my checkboxes that are
checked?
Comment