Title: Shortcodes not working&#8211;javascript error
Last modified: August 22, 2016

---

# Shortcodes not working–javascript error

 *  Resolved [sginsbe](https://wordpress.org/support/users/sginsbe/)
 * (@sginsbe)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-not-working-javascript-error/)
 * I’m trying to use tabs and they won’t display correctly. I also tried a spoiler
   and it would not expand. I checked the JS Console on Firefox and I’m getting 
   the following:
 * TypeError: $(…).on is not a function
 * which refers to
 * other-shortcodes.js line 4
 * The page where I am trying to use these things is located here: [http://atonement.lsa.umich.edu/resources/midwest](http://atonement.lsa.umich.edu/resources/midwest)
 * Any help is appreciated!
 * [https://wordpress.org/plugins/shortcodes-ultimate/](https://wordpress.org/plugins/shortcodes-ultimate/)

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

 *  Thread Starter [sginsbe](https://wordpress.org/support/users/sginsbe/)
 * (@sginsbe)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-not-working-javascript-error/#post-5806424)
 * I figured this out–seems like it was an issue with the theme not getting jquery
   properly.
 *  [PWV](https://wordpress.org/support/users/pwv/)
 * (@pwv)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-not-working-javascript-error/#post-5806503)
 * Can you tell me what the issue was and how te resolve it?
    Looks as if I have
   the same problem.
 * Thanks a lot in advance!
 *  Thread Starter [sginsbe](https://wordpress.org/support/users/sginsbe/)
 * (@sginsbe)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-not-working-javascript-error/#post-5806507)
 * For reference, I’m using the Simple Grid theme, so not sure if yours will end
   up being the same exact problem, but this is what I did.
 * I went into the theme’s header.php file and I looked for where it was getting
   jquery. I found these two lines:
 *     ```
       <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
   
        <!--  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js" type="text/javascript" charset="utf-8"></script> -->
       ```
   
 * Originally, the first line was commented out and the second line wasn’t. It looked
   like the first line was a newer version of jquery so I commented the second line
   and uncommented the first and that seemed to work for me. I’m not sure why it
   was set up like that in the first place.
 * Hope this helps!
 *  [PWV](https://wordpress.org/support/users/pwv/)
 * (@pwv)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-not-working-javascript-error/#post-5806510)
 * Hi sginsbe,
    Thanks a lot for your quick response! Very kind!! The jquery problem
   was mentioned a view times in this forum. Now I know how to resolve. But it wasn’t
   the cause of my problem. I use the theme Circle-lite. And the header.php doesn’t
   have a jquery rule in it at all. So I’ll have to look further…

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

The topic ‘Shortcodes not working–javascript error’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [WP Shortcodes Plugin — Shortcodes Ultimate](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [PWV](https://wordpress.org/support/users/pwv/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-not-working-javascript-error/#post-5806510)
 * Status: resolved