View Single Post
Old 10-09-2012, 01:49 AM   PM User | #5
johnsmith153
New Coder

 
Join Date: Mar 2012
Posts: 81
Thanks: 7
Thanked 0 Times in 0 Posts
johnsmith153 is infamous around these parts
Thanks,

I've tested this script in a much larger site/file.

It sort of works, but there's two problems:

(1) It only removes the last two characters of the classes defined. (see point c in first post).

(2) It moves the content to the wrong place. I think this is because of the $('body').append part but I can't see how to set it to go to the place it should do. I'm guessing if I tested completely stand alone then $('body').append is right as I think that means just inside the <body>, but if the HTML is anywhere else that won't work.
johnsmith153 is offline   Reply With Quote