Response title
This is preview!
When i click the button to post the form data to the php file where it is validated and if it passes validation will then put it in the database, it does the validation ok and gives the errors if there are any on the first click but if there are no errors it does nothing and requires a second click to then put the data into the database?
I have tried both document.ready, #item.click and even put the #item.click inside a document.ready function none of which solved the issue.
Below is the jquery that deals with this, if someone could point me in the right direction i would very much appreciate it.
© 2013 jQuery Foundation
Sponsored by and others.