Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set Button name in <html:button>

Status
Not open for further replies.

Pichdude

Programmer
Aug 24, 2005
66
SE
I have two pages: original.jsp and popup.jsp

On original.jsp I have a hidden div containing the name that I want to use as the value on a button on popup.jsp.

original.jsp:
<div id="divPrintButton" style="visibility: hidden; display: none;">Print...</div>

I can collect this value on popup.jsp with:
var buttonParent = this.opener.document.getElementById("divPrintButton");

But how do i get it to be the value on the <html:button> that I present on popup.jsp?

Regards

Per
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top