I want the html file to instantly load into the textarea without the user having to click on the button to do so. How do I do this?
Asked
Active
Viewed 109 times
1 Answers
1
You can use onchange on your file:
document.getElementById("loadFile").onchange = function() {
// ...
})
Zoe Edwards
- 11,939
- 3
- 19
- 40