|
-
May 12th, 2001, 12:20 AM
#1
Thread Starter
Hyperactive Member
Communicating applet with JavaScript function
I want to have a function do its thing on user input, then pass the result of that function as a parameter to an applet. I am trying to use something like
<param name=info value=qwerty()>
where qwerty is the name of the function. Ive tried it like that, and also with qwerty()between quot marks, and the applet returns precisely the string qwerty()
what can I do?
-
May 27th, 2001, 12:03 AM
#2
Hyperactive Member
You will have to use LiveConnect technology. This however works only in Netscape. There are examples on the net for javascript applet communication but none of them work on both netscape and IE. In Microsoft knowledge base there was an article on javascript communication with applet. They had stated that by making a public variable in your class u can access it from client side via the applet object of Javascript. Or better still u can use the APPLET tag parameters.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|