View Full Version : Popup search box

08-15-2005, 12:55 PM

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.

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

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