I have several php pages that have forms used to submit data. My typical setup is to have the page post to itself so that I can validate the input and if necessary reload the page with the user submitted data (and markup to show where the error is). If everything is OK I redirect to a thank you page.
I would like to start using ajax (jquery) to submit the forms, but have the original php submit to fall back on incase the client is not using javascript. I'm still very new to jquery and have found several examples to submit using jquery but none using the setup I described above. If possible could someone give a brief example or point to a page that does. Thanks