html, how to open a js file code example
Example 1: open a html file using js
// In case I don't want any buttons or links to open a document
// I just want to open a document
window.open('file.extension');
Example 2: html load js file
<script src="myscripts.js"></script>