Results 1 to 3 of 3

Thread: Refresh page once

  1. #1
    Join Date
    Nov 2004
    Location
    Vancouver, BC
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Wink Refresh page once

    I have a need to refresh a page once after (immediately) after it loads.
    Can anyone share with me how to attain this?
    thanks

    (Why I need it is that I have a page with two frames. Upper frame has some text in it from my server. Lower page is loaded from an e commerce server and for some reason it does not load with his name at the top - attributing sales to him- but if you refresh it does - not sure why)

  2. #2
    Join Date
    Nov 2004
    Location
    Vancouver, BC
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I think I have it -

    <body onLoad=window.refresh>

    Put this in the body section and it will reload once.

  3. #3
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up onLoad refresh page only once

    I searched for a cut and paste example for this and could not find one, so I created one.

    The snippet above will only loop because every time the page loads, it triggers that onload event.

    Every solution I found was either a loop or incomplete with no examples.

    Here is the solution I came up with and it works as I am using it on my website now:

    http://www.gotrend.me/blog/pages/Web...php?entry=2927

    Yes, I include the example code here too.

    Robert

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •