Javascript onKeyPress Repeating?

Discussion in 'JavaScript' started by LiNx88, Oct 25, 2006.

  1. #1
    Hello..

    I have a function defined as onKeyPress, however if you hold down a key, it repedeatly calls the function. I would like it to only call the function once for every new key that is pressed and held, not repeadaetly for the same key. Does anybody know if this is possible?

    Thanks in advance
    -LiNx88
     
    LiNx88, Oct 25, 2006 IP
  2. Morishani

    Morishani Peon

    Messages:
    239
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Morishani, Oct 26, 2006 IP