javascript - remove symbols from text field with jquery -
I have the function to remove symbols from text. How to keep commas and dots (.,) In the text field ? "Set up", "set up" (function), {setTimeout (jQuery.proxy (function ()} {/ b> this.val (this.val (). Substitution (/ [^ 0- 9] / g, ''));}, $ (this)), 0);});
try it
this.val ( Change .val (). (/ [^ 0-9.] / G, ''));
Comments
Post a Comment