Skip to content

jaikdean/mootools-element.removetag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published