Basta anche questo nel tag di input:

codice:
<input type=text onkeyup="this.value=this.value.replace(/[^\d\.\,\-]/gi,'');">