Skip to content

rogerz/jquery-serialize-inputs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery plugin to serialize all named inputs, i.e. $(":input[name]") to javascript object

  • value will be serialized as string, number or constants (true, false, null)
  • name will be used as key name
  • add class "number", "string" to the element for type casting
  • if no type specified in class, string like value will be string, number like will be number and so on
  • elements included are: $(":text,:radio:checked,:checkbox:checked,select option:selected")
  • see example for details, it requires jQuery and json2 to work

https://github.com/rogerz/jquery-serialize-inputs

About

jQuery plugin to serialize all **named** inputs to object

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published