I’m trying to achieve something that ‘should’ be fairly straightforward, bit I can’t find anything online to help me out.
I have some CSS class names that are being output with ampersands in them (its down to the system I’m using and is unavoidable). I’d like to use a little bit of jQuery to simply remove the ampersand, so a string that looks like:
class=”Middle&East”
would be
class=”MiddleEast”
Any help with this would be very much appreciated.
Thanks
To replace them all you could;