jquery - Blueimp file upload issues -


when run app, fileupload function shows error

uncaught typeerror: object [object object] has no method 'fileupload'

 $(document).ready(function(){     $('#datepicker').datepicker();      $('#fileupload').fileupload({      **uncaught typeerror: object [object object] has no method 'fileupload'**         url: '/create_p',         add: function (e, data) {                         $('#upload').append('<p class="upl">uploading...please wait</p>');                         data.submit();                     },         success: function (r) {                 $('#upload').remove();                   //alert(r["id"]) ;         $('#id_p').attr('value',r["id"]);                 }     });     }); 

please check element u called fileupload, , fileupload library dependency should added before call fileupload function.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -