Step 1) Add HTML: Example. Checkbox: . Show or Hide div (any control/item) when checkbox is checked or unchecked in ASP.Net using jQuery: This post looks at how to tell if an HTML form checkbox isInput Checkbox checked Property and false if the checkbox is not checked: More Examples. Test runner.
I ran into an interesting problem, facing what is certainly an HTML limitation that had somehow never really occurred to me. The thing is: when you submit a form with empty fields, empty values are POSTed, except for checkboxes and radio buttons which are not posted at all I have the following simple Html within a Modal popup . When I submit the form containing this element, its post value is on instead of the expected true (when element is checked). When i check all checkbox and post the form, the result is like thisI thinks it impossible to get array like what you want from html forms. But this some tricks can be used HTML checkboxes are used in forms with element. You can include as many checkboxes as required by giving checkboxes same name.