I need a function to remove all characters except numbers + characters: \'$\', \'.\' and \',\'.
How can I do this?
If you do not want to allow someone to type such values in a textbox then jQuery Numeric is a nice plugin that does exactly what you want,