Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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';
}
 
PREVIOUS NEXT
Tagged: #open #html #file #javascript
ADD COMMENT
Topic
Name
3+7 =