Return to Snippet

Revision: 1116
at September 12, 2006 00:22 by TC

Initial Code
$("#my-form input[@type='text']").blur(function() {
var query = {};
query[] = this.value;
$.post("/path/to/your/validation.php", query, function(response) {
// do something like changing a css class, disable submit...

Initial URL

Initial Description
Found on the jquery mailing list:
The url shows it in action, checking text when you move away from a field.

Initial Title
Use jQuery to validate form text

Initial Tags
form, jquery

Initial Language