Skip to content

Commit

Permalink
Being more specific.
Browse files Browse the repository at this point in the history
  • Loading branch information
jswartwood committed Jul 1, 2013
1 parent f82b846 commit dc593d2
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ This plugin is a quick and dirty implementation of MochiKit's simple tag creatio

## Quick usage

To create:
```html
<div id="formContainer">
<form id="myForm">
<input type="text" name="firstName" placeholder="First Name"/>
<input type="text" name="lastName" placeholder="Last Name"/>
</form>
</div>
```

You might write:
```html
<div id="formContainer"></div>
<form id="myForm">
<input type="text" name="firstName" placeholder="First Name"/>
<input type="text" name="lastName" placeholder="Last Name"/>
</form>
<script type="text/javascript">
$.FORM(
{"id": "myForm"},
Expand Down

0 comments on commit dc593d2

Please sign in to comment.