hey. im using the ajax form plugin of jroes,
http://www.amir.cx/ajax/test3/stable.php
till now i success to do the rules inside the tag, but where i can put
inside that code a properties like
rules: {
firstname: { required: true },
age: { number: true },
password: { min: 5, max: 32 }
},
messages {
password: "Please enter a password between 5 and 32 characters long."
}
}); and thing such : $("#myform").validate({
errorClass: "invalid",
errorContainer: $("#messageBox"),
errorWrapper: "li"
});
cause i already defined there $(#amir).validate...
anyone can explain me how to do it?
http://www.amir.cx/ajax/test3/stable.php
--
View this message in context:
http://www.nabble.com/how-to-make-the-function-in-forms-%2B-ajax--tf3308618.html#a9203236
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/