Perhaps try setting a cookie the first time the page is loaded. Then check each time the page is loaded for the cookie.
Karl Rudd On 7/19/07, S. Robert James <[EMAIL PROTECTED]> wrote:
I just want a simple function to answer 'first time' or 'back button reload'. I don't want to replace the entire nav of the app. On Jul 18, 11:01 pm, Kenneth <[EMAIL PROTECTED]> wrote: > On 7/18/07, S. Robert James <[EMAIL PROTECTED]> wrote: > > > Solving the Back button problem > > > Is there a way to use JavaScript to detect whether a page is being > > loaded for the first time (from the server), or because someone hit > > the Back button? Often you want to display a status message only one, > > but not show it when they hit the Back button. > > The history/remote plugin could possibly handle that. > > http://www.stilbuero.de/jquery/history/ > > Someone with more experience with the plugin could probably tell you.