Community discussion forum

Ajax "onchange" won't fire untill after user clicks out of input box

  • 4 months ago

    I'm starting to learn ajax, and have hit a little bit of a stumbling block. What I am trying to do is enter some text in an input box, and have that update into a

    . It does work, however, it only updates when the user clicks out of the box. Ideally I would want to to update as soon as text is entered, or maybe after a few seconds delay. I had thought the "onchange" value would call the update as soon as it is changed, but it dosen't seem to work that way.

    Heres the code I'm using: Year.php [code]

    Post was edited on 08/07/2009 09:51:03 Report abuse
  • 4 months ago

    Sorry about that, - posting again in more legible format.

    Heres the code I'm using: Year.php

Post a reply

Enter your message below

Sign in or Join us (it's free).

We'd love to hear what you think! Submit ideas or give us feedback