Quick and dirty MochiKit tag alias functions in jQuery
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.


jQuery MochiKit tags

This plugin is a quick and dirty implementation of MochiKit's simple tag creation aliases.

Quick usage

To create:

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

You might write:

<script type="text/javascript">
		{"id": "myForm"},
			"type": "text",
			"name": "firstName",
			"placeholder": "First Name"
			"type": "text",
			"name": "lastName",
			"placeholder": "Last Name"
			"type": "submit",
			"value": "Submit"