javascript - Looking for a jquery plugin to serialize a form to an object -


I'm looking for a jQuery function or plugin that uses an Naming convention to dial a dial-serialization Serializes the form by jQuery 1.4:

  & lt; Form & gt; & Lt; Input name = "a [b]" value = "1" /> & Lt; Input name = "a [c]" value = "2" /> & Lt; Input name = "d []" value = "3" /> & Lt; Input name = "d []" value = "4" /> & Lt; Input name = "d [2] [e]" value = "5" /> & Lt; / Form & gt; $ ('Form') serializeObject () .; // " The prototype method can do exactly that. What is Jquery equivalent? I found this naming does not follow the conference. 

Since no one seems to have completed the existing library which was what I was looking for, Created bits from existing libraries that were similar:

  • From the jQuery.deparam function
  • The serializeObject function specified in the jQuery query.

Both are thanks, Ben!

Result:


Comments