Skip to content
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.

Latest commit

 

History

History
28 lines (21 loc) · 631 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 631 Bytes

jquery.nextVal

Javascript form validation plugin for jQuery

Usage

$(function() {
   $('form[name=FORM_NAME]').nextVal({
	  ...options...
   });
});

Documentation

$(function() {
	$('form[name=contact]').nextVal({});
});

<h3 id="example0">My Basic Login Form</h3>
<form name="contact" method="post" action="#example0">
	<p>
		<input type="text" placeholder="E-mail Address" validate="email" name="email" /><br />
		<input type="text" placeholder="Password" validate="empty" name="password" /><br />
		<input type="submit" />
	</p>
</form>

see http://jukebox42.github.com/nextVal for full documentation.