Title: one JS script not working when removing another script
Last modified: August 20, 2016

---

# one JS script not working when removing another script

 *  [StringerB](https://wordpress.org/support/users/stringerb/)
 * (@stringerb)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/javascript-problem-7/)
 * Hello,
 * I am using a simple script that adds classes to a menu item. I am also using 
   other scripts such as selectnav, jqueryUI effects, fancybox in spearate files/
 * I am not using the Fancybox after all, but when I remove the script from enqueue
   script, the add class fucntion no longer works.
 * I have almost no knowledge in JS therefore I am litterly unable to resolve this
   problem 🙁 Although I am pretty sure it’s nothing…
 * Thanks in advance for your help

The topic ‘one JS script not working when removing another script’ is closed to 
new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [StringerB](https://wordpress.org/support/users/stringerb/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/javascript-problem-7/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
