I'm loading jQuery in the footer and with Google's CDN and its causing the AJAX loader and errors to not appear. Thoughts?
I'm loading jQuery in the footer and with Google's CDN and its causing the AJAX loader and errors to not appear. Thoughts?
Did some more research and found this topic:
http://www.gravityhelp.com/forums/topic/submit-validation#post-42771
It seems that jQuery needs to be loaded in the header, is there any way around this? Obviously best practice for Javascript is to load in the footer, not sure why Gravity Forms would break that standard...
jQuery needs to be loaded in the header so it's available to Gravity Forms when the page renders. There is currently no way around that but we are always evaluating best practices and will think carefully about the best way to accomplish this. Thank you.
It would be nice to find a way.
some other plugin like contact form 7 don't need to load jquery in top
Can't you just display the script after the WP_footer hook ? jquery would be loaded before in all case.
the javascript code doesn't need to be just after the form html to work well.
thank you.
@emixfr, are you having trouble with a form or are you just providing feedback regarding how the JavaScript is being loaded? If you're having trouble with a form, please provide a link to the form in a new topic with a description of your problem. Thank you.