Click here to Skip to main content
15,893,381 members
Articles / Programming Languages / Javascript

Recent value with KeyPress

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
3 Oct 2011CPOL 8.2K  
Why don't you try for the onkeyup event. You don't even need to read the last character and concatenate it. Keypress event is a combination of keydown and keyup event. Below is the sample code to test the response when the keypress and keyup event occurs.Test KeyPress event: <input...

Views

Daily Counts

License

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


Written By
Business Analyst Tata Consultancy Services Ltd.
India India
I started my career as Java Developer. But now more inclined towards web designing, JavaScript, HTML and CSS.I have good level of expertise on Java, Oracle and JavaScript. Designing Generic components is my main expertise.

Comments and Discussions