Problem JSAPI. Events don't work

Enhanced frontend add-on to queue files.
Post Reply
mcompte
Posts: 1
Joined: Fri Jan 16, 2015 11:14 am

Problem JSAPI. Events don't work

Post 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

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Problem JSAPI. Events don't work

Post by support »

Are you sure you have jsapi.jar declared in ARCHIVE parameters AND JSMApplet.class declared instead of MApplet.class?

Post Reply