From: Jörn Zaefferer Date: Thu, 21 Dec 2006 13:39:14 +0000 (+0000) Subject: Added note to load() to avoid using it to load scripts (#456) X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=a0d5e89a1e41c8ebb1b629f6089e4f3b2cb24b2c;hp=6b8ffe79f4e616d6179f6b16099e7c25e7ae5cb1;p=jquery.git Added note to load() to avoid using it to load scripts (#456) --- diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js index 9d4e8b5..dd3bf18 100644 --- a/src/ajax/ajax.js +++ b/src/ajax/ajax.js @@ -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
* @result
45 feeds found.