Programatically show modal
-
Hello,
I’m trying to open the modal on page load. Tried to put the link in the dom
<a href="#omw-302" id="thank-you-modal" class="omw-open-modal">Open Modal</a>
, also tried to append it to body with JS and then I tried some JS on document ready:
$( '#thank-you-modal' ).get(0).click();
$( '#thank-you-modal' ).click();
$( '#thank-you-modal' ).trigger( 'click' );
None of these options work, why?
Thanks
Oded
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Programatically show modal’ is closed to new replies.