PDA

View Full Version : Popup Window Script


details
07-02-2002, 11:21 PM
I have built a popup from my main page that is about 350 pixels wide by 300 pixel high. Within that popup, I have a form written in asp that queries an access database for a zipcode match. If your zipcode is listed in the database, I have the asp displaying a link on a new results page still in the same popup, it just refreshes.... I now need to create a javascript to close the window and change the url to a new url in the main page where the popup initiated.

I was working with a remote script like this, but I have change the url due to the results page and cannot figure it out for the life of me. Any help would be appreciated.

<script>

function remote2(url){
creator.location=url
window.close();
}
</script>

details
07-03-2002, 12:03 AM
<script>

function remote1(){

win2=window.open("mallin_nav.htm","","width=150,height=150")
win2.creator=self
}

</script>

I am post from a form

How do I combine the open javascript with the form

details
07-03-2002, 04:04 PM
:thumbsup: