Fixed docs for html()
This commit is contained in:
parent
2abdbd4e30
commit
8f1e0ef253
2 changed files with 7 additions and 0 deletions
6
src/jquery/jquery.js
vendored
6
src/jquery/jquery.js
vendored
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue