aspose file tools*
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
Marshal

Joined: Mar 22, 2005
Posts: 42596
    
  65
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 - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to assign input tag id to applet param value