Skip to content

Commit af3f23e

Browse files
committed
load(): Specified that load event alias is removed
Fixes #976 Closes #1010
1 parent 874113d commit af3f23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/load.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<desc>Load data from the server and place the returned HTML into the matched element.</desc>
2222
<longdesc>
2323
<div class="warning">
24-
<p>Note: The event handling suite also has a method named <code><a href="/load-event/">.load()</a></code>. jQuery determines which method to fire based on the set of arguments passed to it.</p>
24+
<p>Note: Prior to jQuery 3.0, the event handling suite also had a method named <code><a href="/load-event/">.load()</a></code>. Older versions of jQuery determined which method to fire based on the set of arguments passed to it.</p>
2525
</div>
2626
<p>This method is the simplest way to fetch data from the server. It is roughly equivalent to <code>$.get(url, data, success)</code> except that it is a method rather than global function and it has an implicit callback function. When a successful response is detected (i.e. when <code>textStatus</code> is "success" or "notmodified"), <code>.load()</code> sets the HTML contents of the matched element to the returned data. This means that most uses of the method can be quite simple:</p>
2727
<pre><code>

0 commit comments

Comments
 (0)