You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entries/load.xml
+1-1
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
<desc>Load data from the server and place the returned HTML into the matched element.</desc>
22
22
<longdesc>
23
23
<divclass="warning">
24
-
<p>Note: The event handling suite also has a method named <code><ahref="/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><ahref="/load-event/">.load()</a></code>. Older versions of jQuery determined which method to fire based on the set of arguments passed to it.</p>
25
25
</div>
26
26
<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>
0 commit comments