jQuery File Uploader:https://github.com/blueimp/jQuery-File-UploadjQuery,如何检查一个插件是否已经应用到一个div?
我正在使用上面的插件。如何在jQuery中检查是否已经应用了fileUpload?
我现在得到以下错误:
Uncaught FileUpload with namespace "file_upload" already assigned to this element
jQuery.jQuery.extend._Deferred.deferred.resolveWithjquery-1.5.1.js:869
donejquery-1.5.1.js:6591
jQuery.ajaxTransport.send.callbackjquery-1.5.1.js:7382
有没有办法我的函数前检查呼叫:
$('.upload').fileUploadUI({
.........
.........
.........
感谢
或使用$( '上传:不是(.applied)') .fileUploadUI(...) – yoavmatchulsky 2011-04-14 21:48:19