I am having a "duh" moment in which I am trying to execute a JavaScript function via an a href.
<a href="javascript:test()">Open New Form</a>
The function is stored in an external JavaScript file. If I have it inline with my function within <script> tags and the a href after it, it works.
What is the best method to execute a JavaScript function stored in another file?
<script src="/path/to/file.js"></script>? If so, you can call functions from there like they were in the same file.