I'm trying to eliminate the whitespace following a "$", which is actually part of a string (ex. $ 100.00), and is dynamically generated per user-input.
My knowledge of regular expressions is very limited. So I'm not sure if this is something I should be using. Or perhaps a more practical solution would be .trim(). But as I understand it, that method looks for beginning and ending whitespace.
Here's the markup I'm working with:
<div class="sideBy_side">
Estimated Total Price ‡<br>
<span class="currency"><strong>$ 172.84</strong> <a class="popup currency"
href="/" title="USD">USD</a></span>
</div>
And my JSFiddle.
I'm still VERY new to jQuery and JS development in general. Any direction you can provide is appreciated.