Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion entries/empty.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
&lt;/div&gt;</pre>
<p>If we had any number of nested elements inside <code>&lt;div class="hello"&gt;</code>, they would be removed, too. </p>
<p>To avoid memory leaks, jQuery removes other constructs such as data and event handlers from the child elements before removing the elements themselves.</p>
<p>If you want to remove elements without destroying their data or event handlers (so they can be re-added later), use <a href="/detach/">.detach()</a> instead.</p>
<p>If you want to remove elements without destroying their data or event handlers (so they can be re-added later), use <a href="/detach/"><code>.detach()</code></a> instead.</p>
</longdesc>
<example>
<desc>Removes all child nodes (including text nodes) from all paragraphs</desc>
Expand Down