<html>
<head>
<script script="text/javascript" src="myjs.js">
</script>
</head>
<body>
<form name='sample'> <input type="button" onclick="popup()" value="Click Me!"> </form>
</body>
</html>In this code is how to import the external java script file in java script.
