What\'s the best way of validating an HTML text input as it\'s typed? All ways I know of doing it has some drawbacks:
Using $.keypress you only
$.keypress
Have you tried oninput?
oninput
HTML example:
javascript:
function readvalue() { var name = $('#user_name').val(); }