Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. How can i trace browser back button event through javascript.

How can i trace browser back button event through javascript.

Scheduled Pinned Locked Moved Web Development
javascriptcomdebugginghelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jax_qqq
    wrote on last edited by
    #1

    Hi All, I need to call an ajax method when user hit on browser back button... So how can i trace this event... If any body has idea abt this :confused: plssss help me out... Thanx & regards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

    C 1 Reply Last reply
    0
    • J Jax_qqq

      Hi All, I need to call an ajax method when user hit on browser back button... So how can i trace this event... If any body has idea abt this :confused: plssss help me out... Thanx & regards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

      C Offline
      C Offline
      CWIZO
      wrote on last edited by
      #2

      This is what you are looking for. -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

      J 1 Reply Last reply
      0
      • C CWIZO

        This is what you are looking for. -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

        J Offline
        J Offline
        Jax_qqq
        wrote on last edited by
        #3

        Thanx :) Buddy for your afferts, I want the same But this Msg should be seen only when user click on browser back right now it's showing the msg on every link as u wrote the function on pageunload event...But in this function we can not check like - page unloading due to browser back? :confused: Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

        C 1 Reply Last reply
        0
        • J Jax_qqq

          Thanx :) Buddy for your afferts, I want the same But this Msg should be seen only when user click on browser back right now it's showing the msg on every link as u wrote the function on pageunload event...But in this function we can not check like - page unloading due to browser back? :confused: Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

          C Offline
          C Offline
          CWIZO
          wrote on last edited by
          #4

          I don't think that's possible :\ But please seoembody correct me if I am wrong. -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups