creative-area / jQuery-form-autofill

simply autofill an empty form with data (jQuery plugin)

Home Page:http://labs.creative-area.net/jquery.formautofill/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jQuery form autofill

jQuery plugin to simply autofill an empty form with data.

Documentation

See complete documentation and demo

Usage

You have a form

<form id="f">
    name <input type="text" name="name">
    email <input type="text" name="email">
    love jQuery
    <input type="radio" name="lovejquery" value="yes"> yes
    <input type="radio" name="lovejquery" value="no"> no
</form>

And data

var data = {
    "name": "John Doe",
    "email": "johndoe@mail.com",
    "lovejquery": "yes"
}

Autofill the form with data ? just do

$("#f").autofill( data );

About

simply autofill an empty form with data (jQuery plugin)

http://labs.creative-area.net/jquery.formautofill/


Languages

Language:JavaScript 78.5%Language:PHP 15.5%Language:CSS 6.0%