Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Modal called in another JS

Home / Forums / Kadence Blocks / Modal called in another JS

This topic is: Not Resolved
[Not Resolved]
Posted in: Kadence Blocks
January 8, 2024 at 11:42 pm

Hi, I’m trying to call the modal using custom ID in another JS, tried with modal Both doesn’t work. The href link I’ve tried as below :

<a href="#popsg" class="modal-trigger">test popsg</a>
<a class="modal-trigger" data-modal-open="popsg" tabindex="0">test popsg</a>

The custom JS is actually for Google Maps info windows, and I’ve created link above to open a popup.

Both work If it is sitted on the html page itself.

  • This topic was modified 2 years, 3 months ago by MyAccount. Reason: wrong format
  • The forum ‘Kadence Blocks’ is closed to new topics and replies.