Oh, thanks for that. Yeah it does work.
As you can see it's adding the XXX to the correct class.
But the clear doesn't.
I usually add the clear AFTER the div in the code, rather that TO the div. What would I need to do to get the jquery to add the code AFTER the div, rather than TO the div. If that makes sense.