what is the error in this script?
- by coderex
<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…