Title: Javascript not working
Last modified: October 11, 2021

---

# Javascript not working

 *  [darrenc4](https://wordpress.org/support/users/darrenc4/)
 * (@darrenc4)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/javascript-not-working-31/)
 * hi, our simple javascript code has stopped working when litespeed caching plugin
   enabled, tried to rollback contact form 7 plugin to 5.3.2 and it works when litespeed
   active.
 * sample of javascript code
    jQuery(“#id-name”).val(prod_url); jQuery(‘checkbox’).
   prop(‘checked’, true);
 * if I add timer function it works, like 1 or 2 seconds. I tried to move the script
   in different order, tried .ready and .load still didnt work.
 * Thanks.

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

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [darrenc4](https://wordpress.org/support/users/darrenc4/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/javascript-not-working-31/)
 * Status: not resolved