Passes parameter to and from popup and parent page

//—-we e in popup window and wanna to show some value from parent window as a preview in popup document.popupfrm.showDiv.innerHTML=window.opener. forms.fieldname.value;

Creating a popup window

Creating a popup Use the following script <!– function popitup(url) { newwindow=window.open(url,’name’,’height=200,width=150′); if (window.focus) {newwindow.focus()} return false; } // –> Then, you link to it by: <a href=”popupex.html” onclick=”return popitup(‘popupex.html’)” >Link to popup

Follow

Get every new post delivered to your Inbox.