• 周六. 10月 8th, 2022

5G编程聚合网

5G时代下一个聚合的编程学习网

热门标签

图片上传

admin

11月 28, 2021

官网地址

https://www.dropzonejs.com/#server-side-implementation

 案例

<script src="./dropzone-5.7.0/dist/dropzone.js"></script>
<link href="./dropzone-5.7.0/dist/dropzone.css" rel="stylesheet" type="text/css" />


<form action="" method="post"  enctype="multipart/form-data">
  <div class="dropzone dropzone-default" id="kt_dropzone_1">
    <div class="dropzone-msg dz-message needsclick">
        <h3 class="dropzone-msg-title">Drop files here or click to upload.</h3>
        <span class="dropzone-msg-desc">This is just a demo dropzone. Selected files are
        <strong>not</strong>actually uploaded.</span>
    </div>
</div>
</form>
<script>
var myDropzone = new Dropzone("div#kt_dropzone_1", { url: "https://keenthemes.com/scripts/void.php"});
</script>

 

发表回复

您的电子邮箱地址不会被公开。