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

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -