Skip to content

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

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%