I’ve been woking at this for a while and just getting nowhere. So please help I’m sure its a simple thing.
I have a form, using PHP and Jquery. When you submit the form I would like for a Thank you header to display > its currently hidden. The form can only be submitted on successful validation – I’m using validator.
The important thing here is for me to find out how to change classes on a succesful submit. So element that are display: none in my CSS can be revealed.
Your help is appreciated 🙂
Without checking if the submit is successful, you could do this…
You’d be better off using
ajax()orget()Here’s an
ajax()example:*And some jQuery documentation for you: http://api.jquery.com/jQuery.ajax/ *