Skip to content

Commit 6587d08

Browse files
committed
Linked .detach() mention.
1 parent 7841fc0 commit 6587d08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entries/empty.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
&lt;/div&gt;</pre>
1818
<p>If we had any number of nested elements inside <code>&lt;div class="hello"&gt;</code>, they would be removed, too. </p>
1919
<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>
20-
<p>If you want to remove elements without destroying their data or event handlers (so they can be re-added later), use .detach() instead.</p>
20+
<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>
2121
</longdesc>
2222
<example>
2323
<desc>Removes all child nodes (including text nodes) from all paragraphs</desc>

0 commit comments

Comments
 (0)