Skip to content
Permalink
Browse files
Added note to load() to avoid using it to load scripts (#456)
  • Loading branch information
jzaefferer committed Dec 21, 2006
1 parent 6b8ffe7 commit a0d5e89
Showing 1 changed file with 2 additions and 0 deletions.
@@ -22,6 +22,8 @@ jQuery.fn.extend({
/**
* Load HTML from a remote file and inject it into the DOM.
*
* Note: Avoid to use this to load scripts, instead use $.getScript.
*
* @example $("#feeds").load("feeds.html");
* @before <div id="feeds"></div>
* @result <div id="feeds"><b>45</b> feeds found.</div>

0 comments on commit a0d5e89

Please sign in to comment.