Hide certain characters with javascript
Hide certain characters with javascript
- Started
- Last post
- 3 Responses
- Alabaster
Is is possible to use jquery or some alternative to hide certain characters in a div?
I have some table data that I cant edit which has underscores in it and I want the underscores to be replaced with spaces.
I would love if the problem could be resolved on the data side rather than use JavaScript, but the guy doing all that is an ass and says he cant.
- iCanHasQBN0
- heavyt0
1. that guy is probably being lazy.
2. you can use the JS Replace() method to do that.
- you need to load up all your text into a string variable, then call that funciton. eg. yourstr.replace(/_/," ");
- Alabaster0
Awesome. I'll give it a shot. thanks for the help.