37 users online (1 members and 36 guests)  


  Results 1 to 4 of 4
  1. #1
    suvarnashiva's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2005
    Posts
    4

    How To Know The Page Was Refreshed

    Hi Friends I Have One Problem When Refreshing A Page In Java Script I Have A Function I Want It Only For First Time When It Loads

    When Ever It Is Refreshed I Don't Want That Method To Be Execute


    Please Help Me

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi, welcome to the forums.

    Set a cookie as part of that method. Check for the cookie and don't perform the method if its detected.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    3 posts with the same question?? Do Not crosspost

  4. #4
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    suvarnashiva why are you cross-posting when your question has been answered here? If you do not understand the question, please say so here and I can try to help further.

    Just going ahead and posting the question again is actually quite insulting to the person who tried to help you(me!) so I won't be coming back to this one.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread