I am using the wordpress plugin <a href="https://wordpress.org/plugins/easy-modal/" rel="nofollow">Easy Modal</a>
I can open a modal like that
. Now I want to open the modal with javascript like that
Is there a way I can do this, without looking at the plugin code? So I can "open" the class with javascript like fake clicking on the link.. I am kind of a newbe in coding...
Thank you
I can open a modal like that
Code:
<a href="#" class="eModal-11">Open Modal</a>
Code:
if (var == true) { openmodal-11(); }
Is there a way I can do this, without looking at the plugin code? So I can "open" the class with javascript like fake clicking on the link.. I am kind of a newbe in coding...
Thank you