Fixed docs for html()
[jquery.git] / src / jquery / jquery.js
index fd6d3a2..8a0a115 100644 (file)
@@ -2461,6 +2461,9 @@ jQuery.macros = {
                /**\r
                 * Get the html contents of the first matched element.\r
                 *\r
+                * A wrapper for the innerHTML property of DOM elements, therefore\r
+                * not available for XML documents.\r
+                *\r
                 * @example $("div").html();\r
                 * @before <div><input/></div>\r
                 * @result <input/>\r
@@ -2473,6 +2476,9 @@ jQuery.macros = {
                /**\r
                 * Set the html contents of every matched element.\r
                 *\r
+                * A wrapper for the innerHTML property of DOM elements, therefore\r
+                * not available for XML documents.\r
+                *\r
                 * @example $("div").html("<b>new stuff</b>");\r
                 * @before <div><input/></div>\r
                 * @result <div><b>new stuff</b></div>\r