jquery - Is there a method of converting a form to json that do not generate duplicate values for checkboxes when checked? -



jquery - Is there a method of converting a form to json that do not generate duplicate values for checkboxes when checked? -

trying convert form json

json.stringify($('#editgroupform').serializearray())

the problem checkboxes, when checked, gets 2 values, 1 true , 1 false. of course of study reslut in problem when trying receive on server.

is there method of converting form json not generate duplicate values checkboxes when checked?

jquery json

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -