javascript - Bootstrap Modal in separate js file -


i've faced following problem: when trying embed jquery code in html page, works fine. however, when put same 3 lines of code in separate js file, doesnt work! doing wrong?

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">        $(window).load(function(){                 $('#mymodal').modal('show');         }); </script> 


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -