javascript - The Dropzone is not working after Jquery .load() execute -


hi can me make solution problem?

this code:

$(document).ready(function() {               $('#sample').load('sample.html') }); 

after script execute , sample.html loaded my...

<form action="upload.php" class="dropzone"></form> 

is located dropzone js not working.

please me issue . can't figured how make solution this.

thanks!

you need tell dropzone reparse document. if using jquery.load method use dropzone.discover method after uploader loaded.

$('#sample').load('sample.html', function() {   dropzone.discover(); }); 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -