Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I've a Html TextBox, and its having a textchange event , but the Problem is it only fires when focus is taken away from the textbox.

Is there any javascript event similar to TextChanged that fires immediately when a character is typed into the textbox, rather than when focus changes?


Please Help Me.


Thanks

Dileep
Posted

1 solution

You can use the onkeypress [^]event
Here is a sample[^]
 
Share this answer
 
Comments
Mohamed Mitwalli 13-Sep-12 14:05pm    
5+
__TR__ 14-Sep-12 2:27am    
Thanks :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900