Title: jQuery coding?
Last modified: September 1, 2016

---

# jQuery coding?

 *  Resolved [trademark2k6](https://wordpress.org/support/users/trademark2k6/)
 * (@trademark2k6)
 * [10 years ago](https://wordpress.org/support/topic/jquery-coding-1/)
 * Hi,
 * I installed a plugin called Calculated Fields Form from the WordPress Repository.
   I was having issues with one of the features (have a slider bar for calculator).
   I raised a ticket with the developer and i was told the following
 * > I’ve encountered some uncaught javascript errors in the theme active in your
   > website.
   > You’ve upgraded WordPress version in the website to the 4.5.x, that includes
   > the jQuery v1.12.3, but the theme active in your website does not support this
   > version of jQuery totally.
   > For example, the line of code below, that belongs to the javascript file ([http://www.uk-psc.com/wp-content/themes/onepress/assets/js/theme.js](http://www.uk-psc.com/wp-content/themes/onepress/assets/js/theme.js)),
   > is incorrect:
   > jQuery(‘.home #site-navigation li a[href*=#]’).on(‘click’, function(event){
   > it must use the double quotes as follows:
   > jQuery(‘.home #site-navigation li a[href*=”#”]’).on(‘click’, function(event){
   > The same issue appears multiple times in this javascript file. You should contact
   > to the theme’s developers, because the same error may be included in other 
   > files of the theme.
 * Could you help?
 * Thanks
    Z

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years ago](https://wordpress.org/support/topic/jquery-coding-1/#post-7464783)
 * Did you recently upgrade Onepress? The comments from the developer do not match
   the file in question: [http://www.uk-psc.com/wp-content/themes/onepress/assets/js/theme.js](http://www.uk-psc.com/wp-content/themes/onepress/assets/js/theme.js)
 * For example, try searching for the following inside that file:
 *     ```
       a[href*=#]'
       ```
   
 * It does not return any results.
 *  Thread Starter [trademark2k6](https://wordpress.org/support/users/trademark2k6/)
 * (@trademark2k6)
 * [10 years ago](https://wordpress.org/support/topic/jquery-coding-1/#post-7464830)
 * Hi Andrew,
 * Yes, after the comments posted by the developer, i noticed OnePress had a new
   version. So hoping it fixes my issues, I upgraded OnePress, but it didnt seem
   to fix my problem…
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years ago](https://wordpress.org/support/topic/jquery-coding-1/#post-7464833)
 * Can you show us the page you’re having an issue with?
 *  Thread Starter [trademark2k6](https://wordpress.org/support/users/trademark2k6/)
 * (@trademark2k6)
 * [10 years ago](https://wordpress.org/support/topic/jquery-coding-1/#post-7464841)
 * Sure,
    [http://www.uk-psc.com/score/](http://www.uk-psc.com/score/)
 * The page loads fine on a desktop and i can use the AGE slider fine. But when 
   on mobile, the slider does not work. it loads properly and looks fine, but doesn’t
   respond to touch. Tested on a iphone 6s.
 * When i load the default wp theme, it works fine.
 * Kind Regards
    Z
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years ago](https://wordpress.org/support/topic/jquery-coding-1/#post-7464850)
 * This is no longer a jQuery issue with the theme, I would return the conversation
   back to your plugin dev
 *  [congthien](https://wordpress.org/support/users/congthien/)
 * (@congthien)
 * [10 years ago](https://wordpress.org/support/topic/jquery-coding-1/#post-7464853)
 * Hi,
 * Please update the latest OnePress theme, we have fixed this issue already!
 * Kind regards.

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

The topic ‘jQuery coding?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/onepress/2.3.18/screenshot.png)
 * OnePress
 * [Support Threads](https://wordpress.org/support/theme/onepress/)
 * [Active Topics](https://wordpress.org/support/theme/onepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/onepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/onepress/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [congthien](https://wordpress.org/support/users/congthien/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/jquery-coding-1/#post-7464853)
 * Status: resolved