Jquery Keypress is not working for my input box.
Posted
by alex
on Stack Overflow
See other posts from Stack Overflow
or by alex
Published on 2010-03-23T18:17:08Z
Indexed on
2010/03/23
18:23 UTC
Read the original article
Hit count: 275
JavaScript
|jQuery
$("#epFilter").keypress(function(){
query = $("#epFilter").val();
alert(query);
});
In this code, whenever I type in my text box, it always alert one character less. It doesn't catch the last character. Why?
© Stack Overflow or respective owner