This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to assign input tag id to applet param value
 
It's not a secret anymore!