Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
8f1e0ef2
Commit
8f1e0ef2
authored
Dec 20, 2006
by
Jörn Zaefferer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed docs for html()
parent
2abdbd4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
newandnoteworthy.txt
newandnoteworthy.txt
+1
-0
jquery.js
src/jquery/jquery.js
+6
-0
No files found.
newandnoteworthy.txt
View file @
8f1e0ef2
...
...
@@ -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
-----
...
...
src/jquery/jquery.js
View file @
8f1e0ef2
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment