Title: Jquery/javascript ERROR
Last modified: February 9, 2021

---

# Jquery/javascript ERROR

 *  [saracomin](https://wordpress.org/support/users/saracomin/)
 * (@saracomin)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/jquery-javascript-error-2/)
 * Hi, the plugin throws me an error with jquery/javascript (i also use Autoptimize).
   I did exactly the things in the topic [https://wordpress.org/support/topic/jquery-not-defined-error-wordpress-5-6/](https://wordpress.org/support/topic/jquery-not-defined-error-wordpress-5-6/),
   yet it gives me an error. What am I doing wrong? Did I not set any checks?
 * This plugin has a lot of potential, I hope you can help me!
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjquery-javascript-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/jquery-javascript-error-2/#post-14026648)
 * try (also) excluding [https://code.jquery.com/jquery-3.2.1.min.js](https://code.jquery.com/jquery-3.2.1.min.js)
   by adding `code.jquery.com` to the exclusion list maybe (you have multiple jQueries
   running)?
 *  Thread Starter [saracomin](https://wordpress.org/support/users/saracomin/)
 * (@saracomin)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/jquery-javascript-error-2/#post-14027862)
 * yes, version 1.12.4, i added also [https://code.jquery.com/jquery-1.12.4.min.js](https://code.jquery.com/jquery-1.12.4.min.js),
   but it didn’t work
    -  This reply was modified 5 years, 2 months ago by [saracomin](https://wordpress.org/support/users/saracomin/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/jquery-javascript-error-2/#post-14028717)
 * but did you try excluding `code.jquery.com` ?
 *  Thread Starter [saracomin](https://wordpress.org/support/users/saracomin/)
 * (@saracomin)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/jquery-javascript-error-2/#post-14028999)
 * yes i did
    I insert : [https://code.jquery.com](https://code.jquery.com) , [https://code.jquery.com/jquery-3.2.1.min.js](https://code.jquery.com/jquery-3.2.1.min.js),/
   wp-includes/js/jquery/jquery.js , [https://code.jquery.com/jquery-1.12.4.min.js](https://code.jquery.com/jquery-1.12.4.min.js)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/jquery-javascript-error-2/#post-14029336)
 * OK, now in Autoptimize exclude `wp-includes/js/jquery/ui/datepicker.min.js` (
   or maybe even `wp-includes/js/jquery/ui/`).
 * And in AsyncJS exclude `wp-content/themes/jupiterx/lib/admin/assets/lib/webfont/
   webfont.min.js` (or `wp-content/themes/jupiterx/`).
 *  Thread Starter [saracomin](https://wordpress.org/support/users/saracomin/)
 * (@saracomin)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/jquery-javascript-error-2/#post-14030920)
 * it keeps giving me errors in console
 * Summarizing for AsyncJS I excluded:
    [https://code.jquery.com](https://code.jquery.com),
   [https://code.jquery.com/jquery-3.2.1.min.js](https://code.jquery.com/jquery-3.2.1.min.js),/
   wp-includes/js/jquery/jquery.js, https: //code.jquery .com / jquery-1.12.4.min.
   js, wp-content / themes / jupiterx / lib / admin / assets / lib / webfont / webfont.
   min.js, wp-content / themes / jupiterx /
 * For Autoptimize:
    wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.
   js, js/jquery/jquery.min.js , /wp-content/themes/jupiterx/lib/admin/assets/lib/
   webfont/webfont.min.js , [https://code.jquery.com/jquery-3.2.1.min.js](https://code.jquery.com/jquery-3.2.1.min.js),/
   wp-includes/js/jquery/jquery.js , [http://code.jquery.com/](http://code.jquery.com/),
   [https://code.jquery.com/jquery-1.12.4.min.js](https://code.jquery.com/jquery-1.12.4.min.js),
   wp-includes/js/jquery/ui/datepicker.min.js , wp-includes/js/jquery/ui/
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/jquery-javascript-error-2/#post-14030974)
 * Yeah, you’ll also have to exclude `jquery/ui` from AsyncJS for the datapicker
   one 🙂
 * the videojs error is also there when both AO & AsyncJS are not active by the 
   way.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Jquery/javascript ERROR’ is closed to new replies.

 * ![](https://ps.w.org/async-javascript/assets/icon-128x128.png?rev=1839260)
 * [Async JavaScript](https://wordpress.org/plugins/async-javascript/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/async-javascript/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/async-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/async-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-javascript/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 7 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/jquery-javascript-error-2/#post-14030974)
 * Status: not resolved