How to remember the prior page before accessing subsequent pages across frame

Posted by Ricky on Stack Overflow See other posts from Stack Overflow or by Ricky
Published on 2010-05-24T04:11:31Z Indexed on 2010/05/25 4:31 UTC
Read the original article Hit count: 186

Filed under:
|

Hi guys:

I get two frames, says A and B. Clicking a link in A will trigger page in B changing from URL_A to URL_B.

How do I remember URL_A, so that when users click cacnel button in URL_B, they can go back to URL_A?

how do I get mainFrame's URL in fraTopMenu?

<frameset rows="60,*" cols="*" frameborder="no" border="0" framespacing="0">  
  <frame src="/Common/Manager/TopMenu.aspx" name="fraTopMenu" 
    scrolling="no" noresize="noresize" id="fraTopMenu" title="" />  
  <frameset rows="*" cols="185,*" framespacing="0" frameborder="no" border="0">  
    <frame src="/Common/Manager/LeftMenu.aspx" name="leftFrame" id="leftFrame" 
      title="" />  
    <frame src="<%= MainUrl %>" name="mainFrame" id="mainFrame" />
  </frameset>
</frameset> 

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about JavaScript