简体   繁体   中英

Dropzone does not work inside jquery tabs

I am trying to use dropzone inside a jquery tab.

In the file that is being called by the tab I include dropzone.min.js , dropzone.min.css , basic.min.css . I copied your code of the form.

I get the normal file input and not the drop zone option. In firebug, I do see the dropzone.min.js is being called.

Trying the same code on a stand alone html file, everything is fine, besides the fact that I don't get the style you have.

Can this not work inside a tab? Doesn't make sense to me.

You could try to initialize it programatically instead of using a form:

http://www.dropzonejs.com/#create-dropzones-programmatically

Don't forget to set up an URL to an Action...

Regards,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM