codice:<script type="text/javascript"> function normalonly(myfield, e){ if (window.event){ key = window.event.keyCode; }else if (e){ key = e.which; }else{ return true; } keychar = String.fromCharCode(key); var indesiderati='!"£%&/()=?\'^*\+ç§_-><'; //qui puoi eventualmente aggiungere altri caratteri indesiderati, facendo attenzione a non rompere la stringa if (indesiderati.indexOf(keychar)){ return true; }else{ return false; } } </script> <input onkeypress="return normalonly(this, event)" />![]()