apply onblur and onkeypress event

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pankajprakash
    New Member
    • Feb 2007
    • 70

    apply onblur and onkeypress event

    hi,

    i have a web application. and i am using a textbox there. I write the onblur and onkeypress event on the textbox. but when i press the key on the textbox that time onblur event is also called, but when i leave the textbox that time only onblur event is called. I just want to call on onkeypress event when i type any key on the textbox. what is the solution
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    There must be something else triggering the onblur event though without code, it would be difficult to figure out.

    Comment

    Working...