Skip to content

RangerMauve/form-populate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Form-Populate

Update the values in a form using a map. Currently only supports simple values like strings or ints. Multi-selects and radio buttons aren't supported until I can think of a nice way to do it.

Usage

form_populate(form_element,{name: "value"});

If using browserify you'll want to require() the function first.

About

Populate an HTML form's values from an object

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published