Si risolve con il metodo keypress:
$("#inputbox").live('keypress', function(e) {
if ($('#inputbox').length >= 2) {
e.preventDefault();
} else {
) });
Nessun commento:
Posta un commento