I've got this .JS file I downloaded - looks like this
Code:
/**
* Class that creates upload widget with drag-and-drop and file list
* @inherits qq.FileUploaderBasic
*/
qq.FileUploader = function(o){
// call parent constructor
qq.FileUploaderBasic.apply(this, arguments);
// additional options
qq.extend(this._options, {
I was watching a youtube video explaining how to use this...
So back in my script - I'm trying to write a function - that I will call from my main page script
Code:
function initFileUploader() {
new qq.FileUploader({
element: $("#upload")[0]
});
}
But qq.FileUploader is not defined. This is not a strong area for me in JavaScript...
What is up with the qq. prefix? What is that supposed to mean? How do I get access to that function in that .JS file??