Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Source
README.md
package.yml
screenshot.png

README.md

Element.removeTag

Allows you to destroy an Element while leaving its contents in place.

Screenshot

How to use

HTML

# HTML
<div>
    <div id="removeMe">
        This text will be in place of the <em>removeMe</em> element.
    </div>
</div>

JS

# JS
$('removeMe').removeTag();

Result

# HTML
<div>
    This text will be in place of the <em>removeMe</em> element.
</div>
Something went wrong with that request. Please try again.