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' );
} );
by x7ee1
<input type="file"/>
<button>Open</button>
input { display: none }
$( 'button' ).click( function() {
$( 'input' ).trigger( 'click' );
} );