I noticed prior to posting this question that there have been similar questions posted on this topic before, however the user isn\'t interacting with the text field by using
You can just listen for the keypress
event.
<input type="text" id="target" value="" />
var target = $('#target'),
val = target.val();
function monitor()
{
var current_val = $(this).val();
if (current_val != val) {
console.log('changed from', val, 'to', current_val);
val = current_val;
}
}
target.keypress(monitor);
Well, there's always brute force: poll it with a setInterval().