I am using fieldSerialize:

jQuery('#DB .HSCO').fieldSerialize();

In form DB I have 3 items:

<input type='checkbox' class='HSCO' id='HSCO_1' name='HSCO_1' value=1
></td>
<input type='checkbox' class='HSCO' id='HSCO_2' name='HSCO_2' value=1
></td>
<input type='checkbox' class='HSCO' id='HSCO_3' name='HSCO_3' value=1
></td>

if value is =1 then works fine.... however when value =0 (ex:HSCO_3)
the item doesn't appear in the serialization: "HSCO_1=1&HSCO_2=1"

Any workaround?

Reply via email to