Currently in a simplified form, my code looks like this
function AddFileParam(file_id, name, value) {
uploadcontrol.AddFileParam(file_id, name, value)
}
uploadcontrol = new Upload()
function Upload() {
//logic
}
Upload.prototype.AddFileParam = function(file_id, name, value) {
//logic
};
The code is giving me an error as it states that addFileParam is not a valid function. This is caused by the instance of the function upload (aka. uploadcontrol). This is only occuring in Firefox/Chrome and not in IE. Any ideas on how to fix this?