We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can i click a button do open the file upload dialog?
The text was updated successfully, but these errors were encountered:
I had the same problem and the documentation wasn't extremely clear on it. What worked was something like this:
<div class="row" id="doc-uploader"> <h1>Upload Documents</h1> <div id="upload-drop-target"> <p>Drag here to upload</p> </div> <input type="file" id="drop-fallback" /> </div> [...] <script> $('#upload-drop-target').filedrop({ fallback_id: 'drop-fallback', fallback_dropzoneClick: true, </script>
The key here was that the fallback element had to be a file (as jquery-filedrop listens to the change event) and not a button.
file
jquery-filedrop
change
Hope this helps, although it has been nearly four years so I also hope you weren't waiting all this time for the answer. :)
Sorry, something went wrong.
No branches or pull requests
Can i click a button do open the file upload dialog?
The text was updated successfully, but these errors were encountered: