jquery - Django-jfu Object [object Object] has no method 'fileupload' -


I am using Django-jfu () to upload a file to my site. But I get this error message in the console:

  Uncaught TypeError: Object [object Object] A method 'fileupload'  is 

Using function fileupload is:

  $ ( '# fileupload') fileupload ({formData :. [{name: "csrfmiddlewaretoken", value: "S96vL7eMvCvRInQ5ezuQqWT3bhOOUzDz"}], autoUpload: true, maxNumberOfFiles: 5, sequentialUploads: true, acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i, maxFileSize: 2000000, minFileSize: 50000,});  

and include js:

   

I think the function called "fileupload" is not properly said or the function is missing. Can anyone help me on this problem? Thanks!


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -