From 8f1e0ef25370c1b7f959355c385e76325272b4f6 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Wed, 20 Dec 2006 13:10:29 +0000 Subject: Fixed docs for html() --- src/jquery/jquery.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index fd6d3a267..8a0a115c4 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -2461,6 +2461,9 @@ jQuery.macros = { /** * Get the html contents of the first matched element. * + * A wrapper for the innerHTML property of DOM elements, therefore + * not available for XML documents. + * * @example $("div").html(); * @before
* @result @@ -2473,6 +2476,9 @@ jQuery.macros = { /** * Set the html contents of every matched element. * + * A wrapper for the innerHTML property of DOM elements, therefore + * not available for XML documents. + * * @example $("div").html("new stuff"); * @before
* @result
new stuff
-- cgit v1.2.3