How do I automatically open the browse dialog of an input type=\"file\" when the page first opens?
fire the click event on the button on document ready
$(document).ready(function() { $("#buttonid").click(); });