Title: comicBookGuy's Replies | WordPress.org

---

# comicBookGuy

  [  ](https://wordpress.org/support/users/comicbookguy/)

 *   [Profile](https://wordpress.org/support/users/comicbookguy/)
 *   [Topics Started](https://wordpress.org/support/users/comicbookguy/topics/)
 *   [Replies Created](https://wordpress.org/support/users/comicbookguy/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/comicbookguy/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/comicbookguy/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/comicbookguy/engagements/)
 *   [Favorites](https://wordpress.org/support/users/comicbookguy/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [local jQuery not working?](https://wordpress.org/support/topic/local-jquery-not-working/)
 *  Thread Starter [comicBookGuy](https://wordpress.org/support/users/comicbookguy/)
 * (@comicbookguy)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/local-jquery-not-working/#post-5896953)
 * ty Jose.
 * for future reference this is what I found from the suggested reading:
 * jQuery(document).ready(function($) {
    // Inside of this function, $() will work
   as an alias for jQuery() // and other libraries also using $ will not be accessible
   under this shortcut });
 * That wrapper will cause your code to be executed when the DOM is fully constructed.
   If, for some reason, you want your code to execute immediately instead of waiting
   for the DOM ready event, then you can use this wrapper method instead:
 * (function($) {
    // Inside of this function, $() will work as an alias for jQuery()//
   and other libraries also using $ will not be accessible under this shortcut })(
   jQuery);
 * Alternatively, you can always reasign jQuery to another shortcut of your choice
   and leave the $ shorcut to other libraries:
 * var $j = jQuery;

Viewing 1 replies (of 1 total)