trapping events...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mel

    trapping events...

    is it possible to find out if function F5 (reload) button was pressed ?

    thanks,
    Mel


  • DB McGee

    #2
    Re: trapping events...

    "Mel" <mel@redolive.c om> wrote in message news:btcboa$92f $1@s0b1a68.ssa. gov...[color=blue]
    > is it possible to find out if function F5 (reload) button was pressed ?[/color]

    Investigate the "onkeypress " event handler.


    Comment

    • Thomas 'PointedEars' Lahn

      #3
      Re: trapping events...

      Mel wrote:
      [color=blue]
      > is it possible to find out if function F5 (reload) button was pressed ?[/color]

      There is, but like all client-side methods it is not reliable. If you
      have a problem with your web application (people posting dupes or so),
      you better improve your server-side programming, using sessions for
      example. Besides, IIRC this is near to be a FAQ.


      PointedEars

      Comment

      Working...