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

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -