0
HTMLI dynamische max Datei-Upload in dropzone.js
<script src="./assets/js/dropzone.js"></script>
<input type="text" id="maxFileUpload" value="5"/>
dropzone.js
(function() {
.
.
Dropzone.prototype.defaultOptions = {
maxFiles: $("#maxFileUpload").val(),
kann nicht Wert festlegen möchten. Aber bewerte das Undefinierte. Ich versuche document.getElementById ('maxFileUpload'). Wert Es funktioniert nicht.
Weiß nicht, was zu tun ist?