Title: Javascript not jQuery in wordpress
Last modified: August 30, 2016

---

# Javascript not jQuery in wordpress

 *  Resolved [wmati](https://wordpress.org/support/users/wmati/)
 * (@wmati)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-not-jquery-in-wordpress/)
 * I want to use Java script in wordpress, not jQuery. Using the $ is a short cut
   to jQuery. jQuery is too slow for on-page-load functions.
 * Many, many conversions on this, confuse jQuery with javascript (jquery a kind
   a short hand of javascript, deriving from a javascript library) the same language
   but different and jquery is slow.
 * I’ve used shortcut $ to, and jQuery in wordpress, both have delay on page load
   functions.
 * This is my understanding. Is it possible to use JAVA SCRIPT in wordpress.
 * I may otherwise have to look at options like GSAP (for it’s speed), if that is
   compatible with wordpress?
 * Hope someone can shed light on this. Thanks.

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

 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-not-jquery-in-wordpress/#post-6355393)
 * > Is it possible to use JAVA SCRIPT in wordpress.
 * Of course it is. I’m guessing that you’re talking about the front-end of your
   site? If that’s the case it’s very simple. Just `wp_enqueue_script()` your JavaScript
   file and don’t list jQuery as a requirement. That way the system won’t load the
   jQuery library file, and you’ll still be able to use any JavaScript code that
   you want to.
 *  Thread Starter [wmati](https://wordpress.org/support/users/wmati/)
 * (@wmati)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-not-jquery-in-wordpress/#post-6355647)
 * Thank you for quick response. Yes, front end. wp_enqueue_script() + not listing
   jQuery was in place. The java script worked outside of wp and not within wp. 
   I have to figure this out.
 * At least I know that Java Script should work in wp, without jQuery.
 * Cheers.

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

The topic ‘Javascript not jQuery in wordpress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [wmati](https://wordpress.org/support/users/wmati/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-not-jquery-in-wordpress/#post-6355647)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
