javascript - jQuery Validation on Success -
Hey guys, thanks in advance for all your help! I have this registration form, which then validates "Basisensons". Valid using JS:
$ ('# pForm'). Validate ({rule: {fname: "required", // simple "required", country: "required", email: {// combined rule required: right, email: true}, city: "required"}, show ('Slow');}}); // validate the form
Now, except the verification success tag ... (which I have added) ... Therefore, although it says that the field is required, it goes forward And reads the code under "success" as soon as I change an area Any ideas how can I get around this one? Oh ... and what is the tag of an "overforming" type jQuery?
It seems your success: Callback is improperly defined, It should contain a string argument that states:
success string, callback
if specified, error label is a valid element Is displayed to show. If a string is given, then it has been added as a class for the label, if any function is given, then its label is called as the only argument (as a jQuery object) with its use "Okay!" Can be done to add text like.
Does it provide a simple class-name string rather than a callback?
Comments
Post a Comment