I have an input text, where I would like to limit the characters entered by the user to "only numbers and commas", that is:
Ej1: "1001,1002,1003" Ej2: "1001" Ej3: "1001,2002"
How could I do it in jquery? I copy fragment of the code:
<div id="marco">
<span id="nombre_campo">Ingrese el Nº de planilla : </span><input type="text" data-planilla="" id="cajita" name="ingreso" autofocus>
<input type="button" id="boton1" name="enviar" data-planilla="NO" onclick="Muestro_Valor()" value="Buscar">
</div>