Answers for "file get html use javascript"

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
6

how to reference a javascript file in html

<script type="text/javascript" src="path/filename.js"></script>
Posted by: Guest on March-24-2021

Code answers related to "file get html use javascript"

Browse Popular Code Answers by Language