Page 1 of 1

JSAppletInitialized fires too soon?

Posted: Fri Feb 25, 2011 5:13 pm
by jmarcv
I am getting random instances of this error from within JSAppletInitialized
document.fileupload.setProperty is not a function

Here is what I have in my JSAppletInitialized

Code: Select all

function JSAppletInitialized(version)
{
	document.fileupload.setProperty('filterparam1','maxwidth');
	document.fileupload.setProperty('filtervalue1',uplwid);
	document.fileupload.setProperty('filterparam2','disable.maxwidth');
	document.fileupload.setProperty('filtervalue2',uplwid);
	document.fileupload.setProperty('filterparam3','quality');
	document.fileupload.setProperty('filtervalue3',1);
}
setproperty SHOULD be a function when this fires?

Re: JSAppletInitialized fires too soon?

Posted: Mon Feb 28, 2011 8:23 pm
by support
Yes, it should work. However, we've noticed some issues under some browsers such as Firefox and Chrome, so you should try document.fileupload.setRegular(name, value) instead. Could you try it?

Re: JSAppletInitialized fires too soon?

Posted: Wed Mar 09, 2011 11:28 pm
by jmarcv
document.fileupload.setRegular is not a function --

I get this intermittently also.

I will just go back to my settimeout workaround.