... un controllo in tempo reale ?
Prova così:
<input type="text" name="campo" onKeyUp="if (isNaN(this.value.charAt(this.value.length-1))) this.value=this.value.substr(0,this.value.length-1);">
Fammi sapere !![]()
... un controllo in tempo reale ?
Prova così:
<input type="text" name="campo" onKeyUp="if (isNaN(this.value.charAt(this.value.length-1))) this.value=this.value.substr(0,this.value.length-1);">
Fammi sapere !![]()