Page 1 of 1

Problem JSAPI. Events don't work

Posted: Fri Jan 16, 2015 11:32 am
by mcompte
I have a problem with JSAPI. The events don't work.
I have got:

<script type="text/javascript">
<!--
function JSAppletInitialized(version)
{
alert(version);
}

function JSTransferDone(filelist)
{
alert(filelist);
}
-->
</script>

I don't receive any alert when applet is loaded and files are transfered.

But in html code I have got:

<input name="field3a" type="text" size="20">
<input type="button" name="Button3" value="Test"onclick="this.form.field3a.value=document.fileupload.getFilenames()">

and it WORKS!!

Thanks and regards!

Manel

Re: Problem JSAPI. Events don't work

Posted: Sun Feb 01, 2015 7:41 pm
by support
Are you sure you have jsapi.jar declared in ARCHIVE parameters AND JSMApplet.class declared instead of MApplet.class?