aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2006-12-20 13:10:29 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2006-12-20 13:10:29 +0000
commit8f1e0ef25370c1b7f959355c385e76325272b4f6 (patch)
tree081a3f735e10ac932844e6bc60d6e554e03c09e9 /src
parent2abdbd4e30f28347840a1861968b2f8a73d8883a (diff)
downloadjquery-8f1e0ef25370c1b7f959355c385e76325272b4f6.tar.gz
jquery-8f1e0ef25370c1b7f959355c385e76325272b4f6.zip
Fixed docs for html()
Diffstat (limited to 'src')
-rw-r--r--src/jquery/jquery.js6
1 files changed, 6 insertions, 0 deletions
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 <div><input/></div>
* @result <input/>
@@ -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("<b>new stuff</b>");
* @before <div><input/></div>
* @result <div><b>new stuff</b></div>