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
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