what is the error in this script?
Posted
by coderex
on Stack Overflow
See other posts from Stack Overflow
or by coderex
Published on 2010-05-10T19:20:01Z
Indexed on
2010/05/10
19:24 UTC
Read the original article
Hit count: 248
<html>
<body>
<script language="javascript">
document.getElementById('myfileId').onchange = function(e) { alert('change'); }
</script>
<form action="" >
<input type="file" id="myfileId" name="myfile">
</form>
</body>
</html>
How can I call the JavaScript function after a file selection.
© Stack Overflow or respective owner