• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to interact with html page in applet without calling javascript function

 
rose deng
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
i'm coding an applet which contain a button,when click the button,the text field of the form will appear some value. for some reason,i don't want to call javascript function.
i'm waiting for your great answer.
 
Nitin Shivaram
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
A JSObject can be used to accomplish what you are trying to do.
This class is under the package "netscape.javascript.JSObject".
Be sure to include this package in your classpath before trying anything. The rest is very intuitive.
Nitin

------------------
Anthrax
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!