How can I use jquery to remove non-breaking spaces (nbsp) which appear between html elements?
So, for example, the following code is generated by a cms:
var div = "content content"; var newdiv = div.replace(/ /g,'');