Skip to content

JQuery plugin that returns a hash from serialization of a form. It supports brakets on input names.

License

Notifications You must be signed in to change notification settings

doroginin/jquery.serialize-hash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

JQuery plugin that returns a hash from serialization of a form. It supports brakets on input names.

It is convenient if you want to get values from a form and merge it with an other hash for example.

Example:

---------- HTML ----------

---------- JS ----------

$('#form').serializeHash()

should return :

{

firstkey: 'val1',

secondkey: {

0: 'val2',

1: 'val3',

key: 'val4'

}

}

About

JQuery plugin that returns a hash from serialization of a form. It supports brakets on input names.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%