> if you have in html the following: > > <input type="checkbox" value="true" name="check"/> > <input type="hidden" value="false" name="check"/> > > ajaxSubmit will submit : > > check : true > check : false > > $("#check").fieldValue() will return > [ true ] > > so, this is inconsistent with the result of ajaxSubmit, it should > return [true,false]
What is #check? Unless it's a select element you'll only have one value for that element. ajaxSubmit submits an entire form but your call to fieldValue is asking for the value of a specific element.