fake browsing

button triggers browse event

by x7ee1

HTML

<input type="file"/>
<button>Open</button>

CSS

input { display: none }

JavaScript

$( 'button' ).click( function() {
    $( 'input' ).trigger( 'click' );
} );