I need a solution to display open file dialog in HTML while clicking a div. The open file dialog box must open when the div is clicked.
I don’t want to display the input file box as part of HTML page. It must be displayed in separate dialog, which is not a part of the web page.
Here is a nice one
Fine Uploader demo
It is an
<input type='file' />control itself. But a div is placed over that and css styles are applied to get that feel. Opacity of the file control is set to 0 so that it appears that the dialog window is opened when clicking on the div.