I'm trying to open the modal during the page load, but is not working. I believe the error should be in the script. the error is happening in styles. Can anyone help me?
this is in html code
<script type="text/javascript">
jQuery(document).ready(function(e){
$("#osx-modal-content, #osx-overlay, #osx-modal-data, #osx-container").modal({
});
});
</script>
other files are equal to SimpleModal — Open OnLoad
Best Answer
Please see the working demo by running the snippet below.
1) it will load simple modal popup on load (Press key to get out)
2) You can use the demo button as well to see the sample working. (Press key to get out)
Hope this helps you to find out your problem are, else flick your code in fiddle I will take a look.