Skip to content
This repository was archived by the owner on Sep 1, 2021. It is now read-only.

Latest commit

 

History

85 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

objectify

Code Climate

Returns form data as a javascript object using the input's name attribute for the key.

See sample http://jameskrayer.com/objectify/.

window.objectify

objectify (form, exclusions, sanitize); version added 0.1.1

form

Type: Object

The form element from which fields should be retrieved.

exclusions

Type: Array

An array of element name attributes to be excluded from the returned object.

sanitize

Type: Object

An object of functions matching one or more element name attributes. Functions take the input value as an attribute and should return modified data. This will be the value for that field in the returned object.

About

Returns form data as a javascript object using the input's name attribute for the key. http://jameskrayer.com/objectify/

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages