Recently, I decided to customize the appearance of a form input for submitting files because I wasn't happy with the default style. Everything was working smoothly on Firefox and Chrome with just a single click to open the file selection dialog. However, when it came to Internet Explorer (IE), a frustrating issue arose - the button required a double click to trigger the dialog.
In an attempt to solve this problem, I experimented with jQuery to simulate a double click through a single click:
$("input").click(function() {
$(this).dblclick();
});
Unfortunately, this strategy did not yield the desired results in IE. Are there any alternative methods to successfully trigger a double click action specifically for IE?
Experience the issue first-hand in this demo: http://jsfiddle.net/HAaFb/