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
382a7ecd
Commit
382a7ecd
authored
Jan 14, 2007
by
John Resig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged in some wiki fixes into the main docs.
parent
729396e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
ajax.js
src/ajax/ajax.js
+3
-3
jquery.js
src/jquery/jquery.js
+6
-6
No files found.
src/ajax/ajax.js
View file @
382a7ecd
...
...
@@ -223,7 +223,7 @@ if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" )
*/
/**
* Attach a function to be executed before an AJAX request is sen
d
.
* Attach a function to be executed before an AJAX request is sen
t
.
*
* The XMLHttpRequest and settings used for that request are passed
* as arguments to the callback.
...
...
@@ -231,7 +231,7 @@ if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" )
* @example $("#msg").ajaxSend(function(request, settings){
* $(this).append("<li>Starting request at " + settings.url + "</li>");
* });
* @desc Show a message before an AJAX request is sen
d
.
* @desc Show a message before an AJAX request is sen
t
.
*
* @name ajaxSend
* @type jQuery
...
...
@@ -536,7 +536,7 @@ jQuery.extend({
* the default content-type "application/x-www-form-urlencoded". If you want to send
* DOMDocuments, set this option to false.
*
* (Boolean) async - By default, all requests are sen
d
asynchronous (set to true).
* (Boolean) async - By default, all requests are sen
t
asynchronous (set to true).
* If you need synchronous requests, set this option to false.
*
* (Function) beforeSend - A pre-callback to set custom headers etc., the
...
...
src/jquery/jquery.js
View file @
382a7ecd
...
...
@@ -320,17 +320,17 @@ jQuery.fn = jQuery.prototype = {
* Returns -1 if the object wasn't found.
*
* @example $("*").index( $('#foobar')[0] )
* @before <div id="foobar"><
/div><b></b><span id="foo"></span
>
* @before <div id="foobar"><
b></b><span id="foo"></span></div
>
* @result 0
* @desc Returns the index for the element with ID foobar
*
* @example $("*").index( $('#foo'))
* @before <div id="foobar"><
/div><b></b><span id="foo"></span
>
* @example $("*").index( $('#foo')
[0]
)
* @before <div id="foobar"><
b></b><span id="foo"></span></div
>
* @result 2
* @desc Returns the index for the element with ID foo
* @desc Returns the index for the element with ID foo
within another element
*
* @example $("*").index( $('#bar'))
* @before <div id="foobar"><
/div><b></b><span id="foo"></span
>
* @example $("*").index( $('#bar')
[0]
)
* @before <div id="foobar"><
b></b><span id="foo"></span></div
>
* @result -1
* @desc Returns -1, as there is no element with ID bar
*
...
...
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