Title: Modal button execution
Last modified: September 3, 2018

---

# Modal button execution

 *  [samtex9](https://wordpress.org/support/users/samtex9/)
 * (@samtex9)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/modal-button-execution/)
 * I have tried adding a custom id to a button in an attempt to trigger the model
   popup but it doesn’t seem to work whatever I do. Please can you advise. Maybe
   I am doing something not quite right.

Viewing 1 replies (of 1 total)

 *  Plugin Author [nasir179125](https://wordpress.org/support/users/nasir179125/)
 * (@nasir179125)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/modal-button-execution/#post-10660110)
 * Button ID is link with jQuery file in which both should be the same.
    My ID change
   every time on page reload. So If you want to add custom ID then Include It into
   jquery file as well. But only one Modal popup will work.

Viewing 1 replies (of 1 total)

The topic ‘Modal button execution’ is closed to new replies.

 * ![](https://ps.w.org/mega-addons-for-visual-composer/assets/icon-128x128.jpg?
   rev=2205499)
 * [Mega Addons For WPBakery Page Builder](https://wordpress.org/plugins/mega-addons-for-visual-composer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mega-addons-for-visual-composer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mega-addons-for-visual-composer/)
 * [Active Topics](https://wordpress.org/support/plugin/mega-addons-for-visual-composer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mega-addons-for-visual-composer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mega-addons-for-visual-composer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nasir179125](https://wordpress.org/support/users/nasir179125/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/modal-button-execution/#post-10660110)
 * Status: not resolved