I'd expect the following to open file dialog, but it doesn't. Why?
$('<input type="file"/>').click();
I'd expect the following to open file dialog, but it doesn't. Why?
$('<input type="file"/>').click();
I'd consider that hazardous if my browser popped up system dialogs unrequested. Just a thought that it's probably a security restriction. I certainly could be wrong in this case.
It's not (shouldn't be) possible to programmatically open file dialogs. The standards say so.
I said shouldn't as IE6 allows this, AFAIK.