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
004f3dd5
Commit
004f3dd5
authored
Oct 03, 2006
by
Jörn Zaefferer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added * You can have as many $(document).ready events on your page as you like.
parent
eee853f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
event.js
src/event/event.js
+2
-0
jquery.js
src/jquery/jquery.js
+1
-0
No files found.
src/event/event.js
View file @
004f3dd5
...
@@ -107,6 +107,8 @@ jQuery.fn.extend({
...
@@ -107,6 +107,8 @@ jQuery.fn.extend({
* Please ensure you have no code in your <body> onload event handler,
* Please ensure you have no code in your <body> onload event handler,
* otherwise $(document).ready() may not fire.
* otherwise $(document).ready() may not fire.
*
*
* You can have as many $(document).ready events on your page as you like.
*
* @example $(document).ready(function(){ Your code here... });
* @example $(document).ready(function(){ Your code here... });
*
*
* @name ready
* @name ready
...
...
src/jquery/jquery.js
View file @
004f3dd5
...
@@ -154,6 +154,7 @@ if ( typeof $ != "undefined" )
...
@@ -154,6 +154,7 @@ if ( typeof $ != "undefined" )
* behaves just like $(document).ready(), in that it should be used to wrap
* behaves just like $(document).ready(), in that it should be used to wrap
* all of the other $() operations on your page. While this function is,
* all of the other $() operations on your page. While this function is,
* technically, chainable - there really isn't much use for chaining against it.
* technically, chainable - there really isn't much use for chaining against it.
* You can have as many $(document).ready events on your page as you like.
*
*
* @example $(function(){
* @example $(function(){
* // Document is ready
* // Document is ready
...
...
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