Title: execute javascript not working
Last modified: November 15, 2024

---

# execute javascript not working

 *  Resolved [fooey](https://wordpress.org/support/users/fooey/)
 * (@fooey)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/execute-javascript-not-working/)
 * I have set the button action to execute javascript and added the code in the 
   box. onclick=”_scheduler.show({ schedulerId: ‘sched_vvgfrx12ik’ })”;
 * I also tried adding javascript:onclick=”_scheduler.show({ schedulerId: ‘sched_vvgfrx12ik’})”;
 * Is there another way it should be added to get it to function properly? When 
   I check the code in inspector it shows this:
 *     ```wp-block-code
       <a class="wpfront-button" onclick="javascript:wpfront_notification_bar_button_action_script();">Book Now</a>
       ```
   

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

 *  Plugin Support [Swathi S](https://wordpress.org/support/users/swathiswpfront/)
 * (@swathiswpfront)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/execute-javascript-not-working/#post-18153281)
 * Hello [@fooey](https://wordpress.org/support/users/fooey/) ,
 *  Could you please share a screenshot of our plugins settings page?
 * Thanks!
 *  Thread Starter [fooey](https://wordpress.org/support/users/fooey/)
 * (@fooey)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/execute-javascript-not-working/#post-18160147)
 * We decided to use another plugin, it was a time sensitive request

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

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

 * ![](https://ps.w.org/wpfront-notification-bar/assets/icon.svg?rev=1672432)
 * [WPFront Notification Bar](https://wordpress.org/plugins/wpfront-notification-bar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpfront-notification-bar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpfront-notification-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/wpfront-notification-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpfront-notification-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpfront-notification-bar/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [fooey](https://wordpress.org/support/users/fooey/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/execute-javascript-not-working/#post-18160147)
 * Status: resolved