Title: Uncaught Reference Error
Last modified: October 22, 2021

---

# Uncaught Reference Error

 *  Resolved [webmasteral](https://wordpress.org/support/users/webmasteral/)
 * (@webmasteral)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/uncaught-reference-error-7/)
 * Version 2.5.3
    The following code is generating a “Uncaught ReferenceError: jQuery
   is not defined at (index):1062”
 *     ```
       <script type="text/javascript">
                                   jQuery(document).ready(function(){
                                       jQuery("div#js-ticket_screentag").css("right","-"+(jQuery("div#js-ticket_screentag span.text").width() + 25)+"px");
                                       jQuery("div#js-ticket_screentag").css("opacity",1);
                                       jQuery("div#js-ticket_screentag").hover(
                                           function(){
                                               jQuery(this).animate({right: "+="+(jQuery("div#js-ticket_screentag span.text").width() + 25)}, 1000);
                                           },
                                           function(){
                                               jQuery(this).animate({right: "-="+(jQuery("div#js-ticket_screentag span.text").width() + 25)}, 1000);
                                           }
                                       );
                                   });
                               </script>
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-reference-error-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [webmasteral](https://wordpress.org/support/users/webmasteral/)
 * (@webmasteral)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/uncaught-reference-error-7/#post-15040922)
 * It turns out I was running the plugin “WP deferred javaScript” and that was causing
   the jQuery loading issues

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Reference Error’ is closed to new replies.

 * ![](https://ps.w.org/js-support-ticket/assets/icon-128x128.png?rev=3337825)
 * [JS Help Desk – AI-Powered Support & Ticketing System](https://wordpress.org/plugins/js-support-ticket/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/js-support-ticket/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/js-support-ticket/)
 * [Active Topics](https://wordpress.org/support/plugin/js-support-ticket/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/js-support-ticket/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/js-support-ticket/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [webmasteral](https://wordpress.org/support/users/webmasteral/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/uncaught-reference-error-7/#post-15040922)
 * Status: resolved