Posted: March 18, 2013 at 1:28 pm
I am on: WP3.5 I can not get the Submit button to work unless I add the following: // disable Event Espresso’s jQuery.validate.js script function my_deregister_javascript() { But when I do this, I break the Slider on the front page. Do you have any suggestions how I can limit the “damage” the addition to function.php does. Thank you, | |
Hi Jesper, In this case, it looks like the theme is including the jquery.validate.js plugin. I’m wondering if it’s enqueueing it properly or if it’s enqueueing it with a different handle. Normally it wouldn’t get loaded twice if both scripts are enqueued with the same handle, WordPress will only load one of them. The other possible cause of this is the version of the jQuery validation plugin that the theme is using is version 1.7, which Event Espresso is actually using a newer version. So you could also try updating the theme to use a newer version of the jQuery validation plugin. Event Espresso uses version 1.8.1. | |
I have updated the theme to jQuery 1.8.1, by copying the jQuery Validation from your plugin. But the button is still not working. I tired to add the script mentioned above. but that didnt work either. Hmmm…. | |
Hi, You have an jQuery error Uncaught TypeError: Cannot call method ‘setDefaults’ of undefined Which seems to be coming from the themes custom.js file, line 467. That could be interfering with the other jQuery, stopping them from working. | |
The support post ‘Submit button not working’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.