Assertion:
Netscape 2+ only supports the onChange event handler attribute
in cases where the user enters or modifies text via the text box; if the "Browse..."
button is the only thing used, the event is not fired. Internet Explorer 4.0+ fires the event in both cases.
Plain Input Type=File field, no ONCHANGE attribute:
filler text
filler text
Input Type=File field, ONCHANGE="alert('onchange fired!')".
- Modify text box contents manually and force a blur()
- Invoke file selector dialog, choose a file, dismiss the dialog and force a blur() event
- Do both and then force a blur() event:
filler text
filler text