0

I want to validate input in form as well as example http://prgassist.blogspot.ru/2011/04/jquery-plugin-autonumeric.html

My code

<input id="groupingNumber" />

$(document).ready(function(){

      $('#groupingNumber').autoNumeric({aSep:',', aNeg:'', mDec:0, mNum:10}); 

});

My task is - user can input only digits and can't input letters. Input contains digits in special format (as example - phone number).

But my example doesn't work

4

0 に答える 0