Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete frame

Status
Not open for further replies.

Ladyhawk

Programmer
Joined
Jan 22, 2002
Messages
534
Location
AU
I have a two framed window. The user submits the form by clicking on a button in the top frame. This then uses Response.Redirect to go to another page. I need to be able to delete the bottom frame before I submit, so that the response.redirect doesn't display in just the top frame. Anyone have any ideas? Ladyhawk. [idea]
** ASP/VB/Java Programmer **
 
Here is a javascript command that has helped me before. Let me know if it works.

<script Language=&quot;JavaScript&quot;>
if (self!=top){
top.location = location
}
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top