This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Applets and the fly likes Need to update HTML form field from an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Need to update HTML form field from an applet" Watch "Need to update HTML form field from an applet" New topic
Author

Need to update HTML form field from an applet

Venkat Guduri
Greenhorn

Joined: Mar 22, 2005
Posts: 10
Hi all, How r u doing?

I have a HTML form. The form has a Combobox which is implemented using Applet(AWT, Swings) and some other fields. Need to update a HTML field when user selects any option from the combo box. I want to do this using Javascript. ItemListener is implemented and it will call Javascript method when user selects any option from Combo box. The user selection is given as the combobox HTML field value using Java script. I need to change other field value also at same place based on user selection. Can u please tell me how to change the other HTML field value from the Javascript which internally uses JSObject but takes applet object reference as argument?
Thanks in advance.
 
wood burning stoves
 
subject: Need to update HTML form field from an applet
 
Similar Threads
Need Javascript code to populate a field with one value from a list of values
How to set value of an input using jQuery ?
problem withcombo oxes
Disable html elements using CSS
Keep the combobox entries after the form submission