Skip to content

Commit 139441a

Browse files
committed
Add note re delegated events not working for SVG. Closes jquery#211
1 parent 11ce1e8 commit 139441a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entries/on.xml

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ $("#dataTable tbody").on("click", "tr", function(event){
5353
alert($(this).text());
5454
});
5555
</code></pre>
56+
<p><strong>Note:</strong> Delegated events do not work for SVG.</p>
5657
<h2 id="event-handler">The event handler and its environment</h2>
5758
<p>The <code>handler</code> argument is a function (or the value <code>false</code>, see below), and is required unless you pass an object for the <code>events</code> argument. You can provide an anonymous handler function at the point of the <code>.on()</code> call, as the examples have done above, or declare a named function and pass its name:</p>
5859
<pre><code>

0 commit comments

Comments
 (0)