By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,968 Members | 1,574 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,968 IT Pros & Developers. It's quick & easy.

do a search from popup

P: n/a
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
Aug 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
Aug 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.