...

View Full Version : Popup search box



Squeal
08-15-2005, 11:55 AM
Hi

I'm trying to do the following. I have a page with a form. I want to be able to have a "find it" button next to a textbox that will pop up a second window that will have a list of items retrieved from a mysql table. When the user selects the items he wants, it must put the relevant value into the text box on the first page.

The problem I'm having is how to transfer the data across pages to the text box. I do not have a lot of javascript experience, so any help would be kindly appreciated.

nikkiH
08-15-2005, 02:14 PM
Use opener to reference the parent window from a popup.

i.e.
opener.document.formname.elementname.value="some value";



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum