View Single Post
Old 01-30-2007, 08:23 AM   #11 (permalink)
daraptor
Recruit
 
Join Date: Dec 2006
Posts: 14
daraptor is on a distinguished road
Quote:
Originally Posted by sde View Post
now we're getting somewhere. it helps when you give more info like that.

just add: window.close to the javascript function in the popup.
Code:
<script language="JavaScript" type="text/javascript">
function javascriptpenpopup(url)
{
	window.opener.location.href = url;
	window.close();
}
</script>
i'm not sure what you want to populate the parent window with if it is refreshing. explain
for example there is some airfare website...in that when we type in the airport code and hit search..we get the results...right...after that we search the required airport code and click on it right....then that airport code which we clickd goes and populates the main page text box where it is supposed to be...ok...u know waht i mean....i want a code for somethin like this.....when i hit a hyper text in child window......it should close and populate the text box in parent window....thanx man
daraptor is offline   Reply With Quote