i want to ask about the rule : remote: "check-email.php", what should the result of check-email.php be:xml, string or others
On Mar 8, 7:45 pm, yazid <[EMAIL PROTECTED]> wrote: > thanx, > but which is more suitable:using the remote function or the addMethode > one?besides, there's no enough documentation on the remote methode. > > On Mar 8, 5:30 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > > yazid schrieb:> Hi all, > > > i used the validation plugin in a form, but i needed checking the > > > existence of a field's value in the database, thus i used ajax, but, > > > how can i integrate the result of ajax in the plugin, i used a > > > traditional ajax(not that related to jquery), and the problem occured > > > when i tried to unify the mechanism of showing errors messages, > > > the question in another way: can i use customized rules (other than > > > "required" and "digits"...)? > > > as a periodic solution i add a button which is used to execut the > > > function process() of ajax, but until now this occurs a problem and > > > dont ork correctly dont know why. > > > Take a look at the remote > > method:http://docs.jquery.com/Plugins/Validation/Methods/remote#url > > > Jörn