469,330 Members | 1,306 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,330 developers. It's quick & easy.

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
Apr 13 '07 #1
1 2316
acoder
16,027 Expert Mod 8TB
There must be something else triggering the onblur event though without code, it would be difficult to figure out.
Feb 5 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Fred Brown | last post: by
5 posts views Thread by Albert Wagner | last post: by
2 posts views Thread by Hasan Ammar | last post: by
5 posts views Thread by Dave Hammond | last post: by
1 post views Thread by neil S via DotNetMonster.com | last post: by
1 post views Thread by Simon Wigzell | last post: by
2 posts views Thread by Mark | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.