Title: Affect plugin with custom JS
Last modified: October 1, 2020

---

# Affect plugin with custom JS

 *  [yano23](https://wordpress.org/support/users/yano23/)
 * (@yano23)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/affect-plugin-with-custom-js/)
 * Hi,
 * I need to add conditional logic in slots: show Y slot only after X has been booked.
 * I’m trying to modify the elements display with Jquery, but it has no effect.
   
   If I try to display none the elements in my style.css file, it works.
 * Can you suggest me something? Maybe adding the code in some of the plugin’s JS
   files?
 * Thank you

The topic ‘Affect plugin with custom JS’ is closed to new replies.

 * ![](https://ps.w.org/booking-system/assets/icon-256x256.png?rev=2192807)
 * [Pinpoint Booking System - Version 2](https://wordpress.org/plugins/booking-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-system/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-system/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [yano23](https://wordpress.org/support/users/yano23/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/affect-plugin-with-custom-js/)
 * Status: not resolved