This sounds pretty elemetary, but I cannot find a code example for Blueimp jQuery File Upload that makes the browser's default file input box (the one that says "Choose file..." and Browse) element hidden and instead triggers the dialog via a button. Coould someone show me how to do this?
I've tried just putting the input element inside a button element as shown in this demo, but it does not work on Firefox. Is there some way to use jQuery to trigger the dialog. I'm not really sure why this works in Chrome other than the "Browse" button happens to line up with the button in Chrome but not in FF.
Here's what I'm trying to do essentially:
<button id="upload-button" class="btn btn-primary btn-large" type="button">
<input type="file" name="image" id="fileupload" multiple data-url=""/>
Upload Images
</button><br>