Skip to content

Commit 73c0dbf

Browse files
committed
Close jquerygh-268, clarify that focusout and blur are different.
1 parent 29c4c66 commit 73c0dbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

entries/focusout.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
</argument>
1919
</signature>
2020
<longdesc>
21-
<p>This method is a shortcut for <code>.on('focusout', handler)</code>.</p>
21+
<p>This method is a shortcut for <code>.on('focusout', handler)</code> when passed arguments, and <code>.trigger('focusout')</code> when no arguments are passed.</p>
2222
<p>The <code>focusout</code> event is sent to an element when it, or any element inside of it, loses focus. This is distinct from the <a href="/blur">blur</a> event in that it supports detecting the loss of focus on descendant elements (in other words, it supports event bubbling).</p>
2323
<p>This event will likely be used together with the <a href="/focusin">focusin</a> event.</p>
2424
</longdesc>
2525
<example>
26-
<desc>Watch for a loss of focus to occur inside paragraphs and note the difference between the <code>focusout</code> count and the <code>blur</code> count.</desc>
26+
<desc>Watch for a loss of focus to occur inside paragraphs and note the difference between the <code>focusout</code> count and the <code>blur</code> count. (The <code>blur</code> count does not change because those events do not bubble.)</desc>
2727
<css><![CDATA[
2828
.inputs { float: left; margin-right: 1em; }
2929
.inputs p { margin-top: 0; }

0 commit comments

Comments
 (0)