JUpload::str_jsinit
Build a string, containing a javascript wrapper function for setting applet properties via JavaScript. This is necessary, because we use the "modern" method of including the applet (using <object> resp. <embed> tags) in order to trigger automatic JRE downloading.
Therefore, in Netscape-like browsers, the applet is accessible via the document.embeds[] array while in others, it is accessible via the document.applets[] array.
Signature
private function str_jsinit()
Returns
- A
- string, containing the necessary wrapper function (named JUploadSetProperty)