Sorry I'm having to do this, but the forum wont let me reply to my other post. I sent an email from the feedback page but haven't recieved a reply yet so as you replied a while ago, I thought I'd post this flag message.
Anyway, I was just so say thanks, for the reply. I would need something that works in most browsers. What I wondered is if you can do something like,
var myVar = <applet...>
where the applet returns a value which should go into the variable myVar. Or would that not work right?
That would not work right. Instead, the code should look something like this:
<applet name="myapplet" ...>
var value = document.applets['myapplet'].methodName();