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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

frame Reference

Status
Not open for further replies.

scohan

Programmer
Dec 29, 2000
283
US
I'm converting someones code and placing it in a frame. The code contains the following <input> tag:
<INPUT name=cmd type=button value=Cancel onclick=&quot;top.location='maint_series.jsp?txt_series=<%=idSeries%>';&quot;>

This method wipes out my frames. Instead of using top.location as shown I'd like to only replace the contents of the current frame. How can I replace the contents in the current frame using this input tag? Thanks.
 
get rid of 'top' - this does just what you said, it breaks out of frames.
b2 - benbiddington@surf4nix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top