Sending Back Ajax variable
- by matthewb
Hello,
I am trying to use jquery to do a client side validation to do a check and return with a error or success.
I know how to echo text/html back as the response, but here's what I am trying to do.
On Error, send back a message, so the user can re-submit a form.
On Success, re-load the page.
I am not sure how to get it to send a variable which I think will let me do either condition in jquery.
Any suggestions??