I imported the javascript file in the head like this :
<script type="text/javascript" src="js/ISO_TR_230-9.js"></script>
That file contains a function calc1 which is set up like this :
function calc1() {}
I am calling calc1 from a button that is set up like this :
<button type="button" onclick="calc1()">Calculate</button>
Upon clicking the button I receive the error calc1 is not defined. Is there anything that could be happening where this occurs?