Title: Run Javascript Onclick
Last modified: August 30, 2016

---

# Run Javascript Onclick

 *  Resolved [Iconnik](https://wordpress.org/support/users/iconnik/)
 * (@iconnik)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/run-javascript-onclick/)
 * Hi. I’m using vantage theme. The built in button widget has a ability to run 
   Javascript on click (as opposed to a URL). Is it possible to do this on Maxbuttons?
 * [https://wordpress.org/plugins/maxbuttons/](https://wordpress.org/plugins/maxbuttons/)

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

 *  Thread Starter [Iconnik](https://wordpress.org/support/users/iconnik/)
 * (@iconnik)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/run-javascript-onclick/#post-6337061)
 * I should add that I did search the forum before posting and notice that this 
   functionality was on the ‘to do list’ a couple of years ago. Terrific plugin 
   btw. Hopefully this feature is possible. Thanks
 *  Plugin Author [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * (@basszje)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/run-javascript-onclick/#post-6337126)
 * Hi,
 * Unfortunately this is at the moment not possible from the plugin. You can however
   easily target a button using jquery / javascript if you want to implement something
   custom.
 * For my curiousity, are you talking about the siteorigin widget bundle that has
   a button widget?
 *  Thread Starter [Iconnik](https://wordpress.org/support/users/iconnik/)
 * (@iconnik)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/run-javascript-onclick/#post-6337142)
 * Thanks Bas
 * I have used the wutton widget in the Site Origin widget bundle
 * All working well using JS
 * Would prefer to use your plugin to design buttons, but never mind.
 * Nick
 *  Plugin Author [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * (@basszje)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/run-javascript-onclick/#post-6337297)
 * Hi Nick,
 * It’s now possible to add javascript onClick events to the URL field since last
   update.
 *  Thread Starter [Iconnik](https://wordpress.org/support/users/iconnik/)
 * (@iconnik)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/run-javascript-onclick/#post-6337300)
 * Hi Bas
 * That’s great news. I shall give it a try soon
 * Thanks. Nick
 *  Plugin Author [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * (@basszje)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/run-javascript-onclick/#post-6337301)
 * Please let us know if you run into any problems, so we can fix them.
 *  Plugin Author [maxfoundry](https://wordpress.org/support/users/maxfoundry/)
 * (@maxfoundry)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/run-javascript-onclick/#post-6337304)
 * Hey Iconnick!
 * Would you mind giving MaxButtons a [rating](https://wordpress.org/support/view/plugin-reviews/maxbuttons#postform)?
   It would be a big help to us if you would.
 * Thanks, and have a terrific weekend.
 * Bob, Bas and the rest of the Max Foundry team
    makers of MaxGalleria and MaxButtons
   Pro

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

The topic ‘Run Javascript Onclick’ is closed to new replies.

 * ![](https://ps.w.org/maxbuttons/assets/icon-128x128.png?rev=1378636)
 * [MaxButtons - Create buttons](https://wordpress.org/plugins/maxbuttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maxbuttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maxbuttons/)
 * [Active Topics](https://wordpress.org/support/plugin/maxbuttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxbuttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxbuttons/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [maxfoundry](https://wordpress.org/support/users/maxfoundry/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/run-javascript-onclick/#post-6337304)
 * Status: resolved