Possible Duplicate:
jQuery get input value after keypress
I'm trying to get an input text
value on jQuery
.keypress()
function. I've seen various examples with keypress and keydown, but not dedicated on getting the input value.
Is it possible?
$(document).ready(function(){
$("#my_field").keydown (function (e) {
alert (e);
});
});
The returned object has a series of properties but I haven't seen something for value input field attribute.
Is there some way to get it?