From a0d5e89a1e41c8ebb1b629f6089e4f3b2cb24b2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Thu, 21 Dec 2006 13:39:14 +0000 Subject: [PATCH 1/1] Added note to load() to avoid using it to load scripts (#456) --- src/ajax/ajax.js | 2 ++ 1 file changed, 2 insertions(+) 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.
-- 1.7.10.4