Results 1 to 2 of 2

Thread: Communicating applet with JavaScript function

  1. #1

    Thread Starter
    Hyperactive Member Radames's Avatar
    Join Date
    Feb 2001
    Location
    Tech Tropics
    Posts
    360

    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?

  2. #2
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    266
    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
  •  



Click Here to Expand Forum to Full Width