471,852 Members | 831 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,852 software developers and data experts.

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 2375
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
NeoPa
reply views Thread by NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.