Answers for "how to open a js file from html"

2

how to open html file with javascript

// In my case, I used a button to activate this function:
function myFunction() {
    window.location.href = 'index.html';
}
Posted by: Guest on November-18-2020

Code answers related to "how to open a js file from html"

Code answers related to "Javascript"

Browse Popular Code Answers by Language