run a js file in html inside a function code example Example: calling javascript file in html <script type="text/javascript" src="yourfile.js"></script>