aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes dynamically change Applet param via javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "dynamically change Applet param via javascript" Watch "dynamically change Applet param via javascript" New topic
Author

dynamically change Applet param via javascript

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

Hi guys,

I have an Applet which i'm loading through an HTML file with a list of parameters names and values.
I would like to add the feature of being able to dynamically change param values via javascript.

is this possible and how can it be done?

thanking you much
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
You may be able to change the page DOM through JavaScript, but once an applet is initialized, any change of the page won't be reflected in the applet. To influence a running applet via JavaScript, you need to access its public fields and methods via LiveConnect, and react accordingly in your applet code. The Applets FAQ has some links about LiveConnect.


Ping & DNS - updated with new look and Ping home screen widget
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60055
    
  65

Moved to the Applets forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dynamically change Applet param via javascript
 
Similar Threads
Dynamic parameter values for applet
Getting parameter values from user and passing it t o applets
Unable to call Applet methods in Firefox while its display is set to 'none'.
dynamically change Applet param via javascript
can this be done?