Skip to content

Instantly share code, notes, and snippets.

@danesparza
Created May 16, 2011 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danesparza/973900 to your computer and use it in GitHub Desktop.
Save danesparza/973900 to your computer and use it in GitHub Desktop.
jQuery validation - HTML
<div id="content" style="padding: 10px;">
<form id="frmTest" method="get">
Lots of other content here<br />
Lots of other content here<br />
Lots of other content here<br />
Lots of other content here<br />
Lots of other content here<br />
Lots of other content here<br />
<input id="txtEmail" name="txtEmail" type="text" class="required email"/>
<br />
<input id="txtName" name="txtName" type="text" class="required" minlength="2"/>
<br />
Other content
<br />
<button id="btnValidate" type="button">Test validation</button>
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment