Category Archives: jQuery

HTML checkbox as boolean values with jQuery (using ASP.NET MVC Web-Api)

I like to have my HTML form data to be send in JSON. When reading values from checkboxes with the default jQuery serializeArray you get the value “on” for checkboxes that are checked. In my viewmodel I have boolean properties … Continue reading

Posted in ASP.NET, HTML, JavaScript, jQuery, JSON, MVC, Web-Api | Tagged , , , , , , , , | 6 Comments