I'm trying to open an html page with a linked js file using eModal.ajax method.
The page is loading and shown correctly but the js code inside the page is not executed.
I've notice that the Jquery(document).ready() is not called. And if I place a plain javascript inside the page is never executed.
To test i've tried with a simple
<script type="text/javascript"> setTimeout(function () { console.log('initCal'); }, 1000); </script>
but even this is never called.
If I close the modal and reopen it the js in the page is executed correctly.
Edika