I am trying to open nyroModal in an iframe directly from JavaScript.
To clarify, the following is not what I need:
$.nmManual(url);
because it does not open the iframe.
This will also not work:
<a href="http://someurl.com/" target="_blank" class="nyroModal">click me</a> <script type="text/javascript"> $(".nyroModal").nyroModal(); </script>
because I really need to run it directly from JavaScript.
I looked through the documentation and I cannot find any obvious way to do this. Any ideas?
source share