Alexandre Jaquet > a écrit :
> Hi,
>
> I want to do a search from my opened popup and print the result to
> my parent window.
>
> I know how can I with a link open a new page in the parent window
> but I need to retrieve my form values before to send it to the parent
> window
>
> I call a function from my search button :
>
> function Lvl_P2P(url,closeIt,delay){
> document.select_wish.submit();
> opener.location.href = url;
> }
>
>
> my button :
> <input type="button"
> onClick="Lvl_P2P('/cgi-bin/recordz.cgi?lang=fr&page=dosearchimmo',true,0500)"
> value="Search">
>
> but If I use it this way the document.select_wish.submit() method send
> and open page in the current pop up window
>
> how can I tell to open it to opener.location.href = url
>
> thanks in advance
>
> Alexandre Jaquet
I found a way but don't know if I can do better :
I get back values from my fields and append it to the url
Received on Mon Oct 24 02:14:09 2005