Skip to content

Commit a3cc9b4

Browse files
tym-networkkswedberg
authored andcommitted
contents(): Add a missing space
Closes gh-591
1 parent 4e8e8dc commit a3cc9b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/contents.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</signature>
77
<desc>Get the children of each element in the set of matched elements, including text and comment nodes.</desc>
88
<longdesc>
9-
<p>Given a jQuery object that represents a set of DOM elements, the <code>.contents()</code> method allows us to search throughthe immediate children of these elements in the DOM tree and construct a new jQuery object from the matching elements. The <code>.contents()</code> and <code>.children()</code> methods are similar, except that the former includes text nodes as well as HTML elements in the resulting jQuery object.</p>
9+
<p>Given a jQuery object that represents a set of DOM elements, the <code>.contents()</code> method allows us to search through the immediate children of these elements in the DOM tree and construct a new jQuery object from the matching elements. The <code>.contents()</code> and <code>.children()</code> methods are similar, except that the former includes text nodes as well as HTML elements in the resulting jQuery object.</p>
1010
<p>The <code>.contents()</code> method can also be used to get the content document of an iframe, if the iframe is on the same domain as the main page.</p>
1111
<p>Consider a simple <code>&lt;div&gt;</code> with a number of text nodes, each of which is separated by two line break elements (<code>&lt;br&gt;</code>):</p>
1212
<pre><code>

0 commit comments

Comments
 (0)