You encountered this IE7 error:
<input type="file" id="xxx">
<script>
$('#xxx').change(function(){ alert(1) })
</script>
when I click on the input and select the file, it appears for the first time. Then I click on an empty area on the body, the warning appears again. This happens even when I bind the change event to input: a file with JQuery 1.6 (the last time at the moment).
How can I prevent this in the easiest way? Thanks for all the suggestions!
source
share