delete and onblue

Discussion in 'JavaScript' started by web_dude, Feb 21, 2008.

  1. #1
    Hi,

    I have a form using ajax that is kicked off using onblur. The code works fine but if the user enters the wrong item number, then gets an error message, then deletes the item number and leaves the field the onblur doesn't fire again.

    I have attached an image. If the user were to delete 12355 and leave the field the ajax will not fire (onblur). This means the Invalid Item Number message would remain.

    So I guess my question is, why doesn't onblur fire when you leave the field, regardless of what is in the field? Any solutions?
     

    Attached Files:

    web_dude, Feb 21, 2008 IP
  2. web_dude

    web_dude Guest

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    nevermind, it was a js logic error.
     
    web_dude, Feb 21, 2008 IP