jQuery HTML5 Uploader
openkk
13年前
<p>jQuery HTML5 Uploader 是一个轻量级的 jQuery 插件用来直接从电脑中拖放文件到浏览器并实现上传的功能,目前该功能只支持 Firefox 和 Chrome 浏览器。</p> <p>使用方法:</p> <pre class="brush:html; toolbar: true; auto-links: false;"><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.html5uploader.min.js"></script> <script type="text/javascript"> $(function() { $("#dropbox, #multiple").html5Uploader({ name: "foo", postUrl: "bar.aspx" }); }); </script> <div id="dropbox"></div> <input id="multiple" type="file" multiple></pre> <p>在线演示:<a href="/misc/goto?guid=4958855940287074638" target="_blank">http://www.igloolab.com/jquery-html5-uploader/</a></p> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1324173878421" target="_blank">http://www.open-open.com/lib/view/home/1324173878421</a></p>