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

link to open i the main page

P: n/a
Hi all,
I have a page with a search form that pop ups the results in a pop up page.

I would like to open the results links not in the pop upwindow, but in the
main page.
Actually my code is this.
In the form:

<form action="results.cfm" method="post" name="pes" target="nw"
onsubmit="window.open('','nw','scrollbars=yes,resi zable=yes')">
....
....
</form>

In the pop up:

<head>
<script language="JavaScript">
function loadurl(url){
window.creator.location=url
}
</script>
</head>
....
....
<a href="#url#" target="_top" style="color: ##525252"
onClick="loadurl(this.href);return false">#Summary#</a>
....
....
but the links still opens in the pop up...

suggestions?
Thanks in advance


Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"lutra" <gi*************@NOSPAMnetcabo.pt> schreef in bericht
news:3f***********************@news.telepac.pt...

but the links still opens in the pop up...


In the popup:

function loadurl(url){
opener.location=url
}
JW

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.