marioizquierdo / jquery.serializeJSON

Serialize an HTML Form to a JavaScript Object, supporting nested attributes and arrays.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

checkboxUncheckedValue not working for me

KammutierSpule opened this issue · comments

I'm using Zepto.js and the following code:
$("#IDoutputsForm").serializeJSON({checkboxUncheckedValue: "0"});

it is not get the checkbox if it is unchecked.

Any hint?

Never mind, it works, the problem for me is that it append the checkbox to the end of string