jQuery if has this in the url remove everything from a div

If you’re on

http://site.com/something/whatever-in-the-url/something-else/

Find, “#this-div” and remove everything in it.

Leave a Reply

Your email address will not be published. Required fields are marked *

+ 48 = 58