Topic: Xajax, Jquery and form
Hi everyone!
I have a form, and I'm validating the user with xajax of course, the following is how I currently call the function with jquery:
Code: PHP
$(document).ready(function(){
$("#frmLogin").submit(function(){
xajax__validate_admin(xajax.getFormValues(this));
return false;
});
});
I am redirecting the user to the appropriate page from php whenever the login is good, but from jquery is there any way to find out if the login is a success?
Thank you!