Title: Javascript not working properly
Last modified: January 4, 2022

---

# Javascript not working properly

 *  Resolved [Noucho](https://wordpress.org/support/users/noucho/)
 * (@noucho)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-working-properly-2/)
 * Hello !
    I bought the plugin to add HTML element with Javascript, but it seems
   that Javascript is not working on my site :/
 * I want to add the following element : [https://codepen.io/Noucho/pen/jOGxqje](https://codepen.io/Noucho/pen/jOGxqje).
   
   HTML and CSS are both working, but not Javascript.
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-not-working-properly-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-working-properly-2/#post-15219903)
 * Hi,
 * where are you adding the JS code?
 *  Thread Starter [Noucho](https://wordpress.org/support/users/noucho/)
 * (@noucho)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-working-properly-2/#post-15221749)
 * Tried to add the JS code in <script> tag directly in content of the HTML section,
   and also tried to add it in style section of Product Meta Basic Settings.
    -  This reply was modified 4 years, 5 months ago by [Noucho](https://wordpress.org/support/users/noucho/).
 *  [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-working-properly-2/#post-15232270)
 * Hi [@noucho](https://wordpress.org/support/users/noucho/),
 * Yes, the best way to add JS or CSS via PPOM Meta basic settings under Style tabs.
   Maybe some cache plugins not updating the site, just a thought.

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

The topic ‘Javascript not working properly’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-product-addon/assets/icon-256x256.gif?rev=3186763)
 * [PPOM - Product Addons & Custom Fields for WooCommerce](https://wordpress.org/plugins/woocommerce-product-addon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-product-addon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-product-addon/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-product-addon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-product-addon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-product-addon/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [N-Media](https://wordpress.org/support/users/nmedia/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-working-properly-2/#post-15232270)
 * Status: resolved