On Sep 30, 6:27 am, "factoringcompare.com" <firstfacto...@googlemail.com> wrote: > Thank you. JQuery is completly new to me. OK how des the belo code > look? > > <script> > $(document).ready(function(){ > > $("#test'").blur(function () { > $('#test').val($('#test').val().replace(/,/g,'')); You could do: this.value = this.value.replace(/,/g,''); and save yourself a few keystrokes (and a gazillion CPU cycles) :-) -- Rob
- [jQuery] Strip out all of the commas in numeric text ... factoringcompare.com
- [jQuery] Re: Strip out all of the commas in nume... Charlie Griefer
- [jQuery] Re: Strip out all of the commas in ... factoringcompare.com
- [jQuery] Re: Strip out all of the commas... Charlie Griefer
- [jQuery] Re: Strip out all of the co... factoringcompare.com
- [jQuery] Re: Strip out all of t... Charlie Griefer
- [jQuery] Re: Strip out all ... factoringcompare.com
- [jQuery] Re: Strip out ... Charlie Griefer
- [jQuery] Re: Strip out ... factoringcompare.com
- [jQuery] Re: Strip out ... James
- [jQuery] Re: Strip out all of t... RobG