This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Applets and the fly likes how to assign input tag id to applet param value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "how to assign input tag id to applet param value" Watch "how to assign input tag id to applet param value" New topic
Author

how to assign input tag id to applet param value

Paul Wagner
Greenhorn

Joined: Nov 13, 2009
Posts: 14
Scenario : applet is embedded in the html page, and i need the value of a specific <input> tag and want to send to java applet through the <param> tag of <applet> tag.


Example:

this is the html input tag <input type="text" value="abc" id="123"/>

I want to assign the value of the above input tag to <param name=x value=value from the above input tag>

any idea how to do it ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
I don't think altering the PARAM tags after the applet has been loaded will do much good. The applet could use the Common DOM API to access the HTML form elements directly, though.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to assign input tag id to applet param value
 
Similar Threads
Passing data from Applet to the Apache server
Parameters in HTML/Applet
Question on how to fix error on inputHidden field
can this be done?
Installing ChessViewer Deluxe on website.