Commit 8f1e0ef2 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fixed docs for html()

parent 2abdbd4e
......@@ -10,6 +10,7 @@ New and Noteworthy
- Improved event fixing, using less browser and more object detection
- Fixed ID with context selectors (eg. div#id doesn't ignore "div" anymore)
- Improved jQuery.merge to avoid unnecessary loops
- Fixed docs for html(): Now mentions that is not available for XML documents
1.0.4
-----
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment