Title: Events Manager Widget does not allow Javascript any more
Last modified: August 30, 2016

---

# Events Manager Widget does not allow Javascript any more

 *  Resolved [Stewart Barklem](https://wordpress.org/support/users/stewart-barklem/)
 * (@stewart-barklem)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/events-manager-widget-does-not-allow-javascript-any-more/)
 * WordPress 4.3.1
    Events Manager 5.6.1 Theme Boldy
 * I am using the Events Manager Widget in the sidebar. This has been working fine
   for ages (years). I wanted to update the number of events in the list so I changed
   this number and saved the setting only to discover the list item format I had
   was corrupted and messed up my display.
 * In my list item format I have some Javascript and the SCRIPT tags got stripped
   out when I saved – if I try to put them back they are just stripped out again.
 * Fortunately this is not done under Events/Settings/Formatting/Events/Default 
   event list format.
 * I have some events (only a few) where I do not want to display the time only 
   the date – so I set the time to 12:15am and the Javascript looks for this and
   changes the display accordingly.
 * Can this strange behaviour be removed.
 * Thanks
 * [https://wordpress.org/plugins/events-manager/](https://wordpress.org/plugins/events-manager/)

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

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/events-manager-widget-does-not-allow-javascript-any-more/#post-6743629)
 * sorry Im afraid that this is not possible at the moment without hacking into 
   the code.
 *  Thread Starter [Stewart Barklem](https://wordpress.org/support/users/stewart-barklem/)
 * (@stewart-barklem)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/events-manager-widget-does-not-allow-javascript-any-more/#post-6743659)
 * Can this be put on the list of updates please.
 * Thanks
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/events-manager-widget-does-not-allow-javascript-any-more/#post-6743714)
 * sorry not sure about that because no eta yet on when will be the next update.
 *  Thread Starter [Stewart Barklem](https://wordpress.org/support/users/stewart-barklem/)
 * (@stewart-barklem)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/events-manager-widget-does-not-allow-javascript-any-more/#post-6743787)
 * Update. By using conditional placeholders I have now been able to do what I want
   to do without javascript.

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

The topic ‘Events Manager Widget does not allow Javascript any more’ is closed to
new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [Stewart Barklem](https://wordpress.org/support/users/stewart-barklem/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/events-manager-widget-does-not-allow-javascript-any-more/#post-6743787)
 * Status: resolved