this drives me nuts - Im trying to remove all white-spaces in a string, and nothing seems to work. what am i doing wrong?
This is what im trying with at the moment:
$(".unfoldedlabel a").text().replace(/ /g,'');
HTML:
<span class="unfoldedlabel" colspan="6"><a>Accessories/Service & Support</a></span>