Vote count:
0
I am trying to learn dropzone.js (iam quite new to jquery/js!), and I have managed to build the default dropzone.js using something along the lines of:
<form class="dropzone" id="myDropzone" action="{% url "model:home" %}" method="post" enctype="multipart/form-data">
{% csrf_token %}
</form>
.. and it works great - my server side handles the uploads as expected.
Now, I try to use dropzone.js with twitter boosttrap, as shown in dropzone tutorial, but I am not able to get it to work. As in, the buttons dont seem to show the upload dialog boxes. My HTML is exactly this as in the tutorial and the jquery code is this.
Also, I am not sure if the target-url in the jquery code needs to modified or not? and how do I include the form element with this?
Sorry if the question is daft.. Unsure how to fit dropzone with bootstrap. Any advice would be great!
asked 16 secs ago
dropzone does not show up with twitter bootstrap
Aucun commentaire:
Enregistrer un commentaire