PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

jQuery Async Issues

  1. When you load jQuery with the async option the GravityForms inline scripts (even when loaded with add_filter("gform_init_scripts_footer", "init_scripts"); ) fire off before jQuery is loaded (due to the nature of async).

    This causes jQuery to be undefined when the script runs. Is there anyway to make the JS GravityForms runs not inline?

    Posted 7 years ago on Tuesday February 19, 2013 | Permalink
  2. I'll ask the development team about this one.

    Posted 7 years ago on Tuesday February 19, 2013 | Permalink
  3. Currently there isn't a way of running these scripts not inline. I will keep this in the back of my mind and could be something we optimize in the future. Thanks for the heads up.

    Posted 7 years ago on Tuesday February 19, 2013 | Permalink