I cannot call the function clickie from the file fair_functions.js
html page
<head>
<script type="text/javascript" src="fair_functions.js"></script>
</head>
<body>
<button type="button" onclick="clickie();"</script>">Next</button>
</body>
fair_functions.js
function clickie () {
alert("asdfsadfsdf");
window.open('test (2).html','_blank');
self.close();
}
fair_functions.jsin the same directory as the html page?