/*
* This file has been commented to support Visual Studio Intellisense.
* You should not use this file at runtime inside the browser--it is only
* intended to be used only for design-time IntelliSense. Please use the
* standard jQuery library for all production use.
*
* Comment version: 1.4.1a
*/
/*!
* jQuery JavaScript Library v1.4.1
* http://jquery.com/
*
* Distributed in whole under the terms of the MIT
*
* Copyright 2010, John Resig
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Mon Jan 25 19:43:33 2010 -0500
*/
(function( window, undefined ) {
// Define a local copy of jQuery
var jQuery = function( selector, context ) {
/// <summary>
/// 1: $(expression, context) - 此函数接受一个包含 CSS 选择器的字符串,随后将使用该选择器匹配一组元素。
/// 2: $(html) - 基于提供的原始 HTML 字符串动态创建 DOM 元素。
/// 3: $(elements) - 围绕单个或多个 DOM 元素包装 jQuery 功能。
/// 4: $(callback) - $(document).ready() 的简写形式。
/// 5: $() - 从 jQuery 1.4 开始,如果未向 jQuery()方法传递任何参数,则将返回空的 jQuery 集。
/// </summary>
/// <param name="selector" type="String">
/// 1: expression - 要用于搜索的表达式。
/// 2: html - 要动态创建的 HTML 字符串。
/// 3: elements - 将由 jQuery 对象封装的 DOM 元素。
/// 4: callback - 当 DOM 就绪时要执行的函数。
/// </param>
/// <param name="context" type="jQuery">
/// 1: context - 要用作上下文的 DOM 元素、文档或 jQuery。
/// </param>
/// <returns type="jQuery" />
// The jQuery object is actually just the init constructor 'enhanced'
return new jQuery.fn.init( selector, context );
},
// Map over jQuery in case of overwrite
_jQuery = window.jQuery,
// Map over the $ in case of overwrite
_$ = window.$,
// Use the correct document accordingly with window argument (sandbox)
document = window.document,
// A central reference to the root jQuery(document)
rootjQuery,
// A simple way to check for HTML strings or ID strings
// (both of which we optimize for)
quickExpr = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,
// Is it a simple selector
isSimple = /^.[^:#\[\.,]*$/,
// Check if a string has a non-whitespace character in it
rnotwhite = /\S/,
// Used for trimming whitespace
rtrim = /^(\s|\u00A0)+|(\s|\u00A0)+$/g,
// Match a standalone tag
rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
// Keep a UserAgent string for use with jQuery.browser
userAgent = navigator.userAgent,
// For matching the engine and version of the browser
browserMatch,
// Has the ready events already been bound?
readyBound = false,
// The functions to execute on DOM ready
readyList = [],
// The ready event handler
DOMContentLoaded,
// Save a reference to some core methods
toString = Object.prototype.toString,
hasOwnProperty = Object.prototype.hasOwnProperty,
push = Array.prototype.push,
slice = Array.prototype.slice,
indexOf = Array.prototype.indexOf;
jQuery.fn = jQuery.prototype = {
init: function( selector, context ) {
var match, elem, ret, doc;
// Handle $(""), $(null), or $(undefined)
if ( !selector ) {
return this;
}
// Handle $(DOMElement)
if ( selector.nodeType ) {
this.context = this[0] = selector;
this.length = 1;
return this;
}
// Handle HTML strings
if ( typeof selector === "string" ) {
// Are we dealing with HTML string or an ID?
match = quickExpr.exec( selector );
// Verify a match, and that no context was specified for #id
if ( match && (match[1] || !context) ) {
// HANDLE: $(html) -> $(array)
if ( match[1] ) {
doc = (context ? context.ownerDocument || context : document);
// If a single string is passed in and it's a single tag
// just do a createElement and skip the rest
ret = rsingleTag.exec( selector );
if ( ret ) {
if ( jQuery.isPlainObject( context ) ) {
selector = [ document.createElement( ret[1] ) ];
jQuery.fn.attr.call( selector, context, true );
} else {
selector = [ doc.createElement( ret[1] ) ];
}
} else {
ret = buildFragment( [ match[1] ], [ doc ] );
selector = (ret.cacheable ? ret.fragment.cloneNode(true) : ret.fragment).childNodes;
}
// HANDLE: $("#id")
} else {
elem = document.getElementById( match[2] );
if ( elem ) {
// Handle the case where IE and Opera return items
// by name instead of ID
if ( elem.id !== match[2] ) {
return rootjQuery.find( selector );
}
// Otherwise, we inject the element directly into the jQuery object
this.length = 1;
this[0] = elem;
}
this.context = document;
this.selector = selector;
return this;
}
// HANDLE: $("TAG")
} else if ( !context && /^\w+$/.test( selector ) ) {
this.selector = selector;
this.context = document;
selector = document.getElementsByTagName( selector );
// HANDLE: $(expr, $(...))
} else if ( !context || context.jquery ) {
return (context || rootjQuery).find( selector );
// HANDLE: $(expr, context)
// (which is just equivalent to: $(context).find(expr)
} else {
return jQuery( context ).find( selector );
}
// HANDLE: $(function)
// Shortcut for document ready
} else if ( jQuery.isFunction( selector ) ) {
return rootjQuery.ready( selector );
}
if (selector.selector !== undefined) {
this.selector = selector.selector;
this.context = selector.context;
}
return jQuery.isArray( selector ) ?
this.setArray( selector ) :
jQuery.makeArray( selector, this );
},
// Start with an empty selector
selector: "",
// The current version of jQuery being used
jquery: "1.4.1",
// The default length of a jQuery object is 0
length: 0,
// The number of elements contained in the matched element set
size: function() {
/// <summary>
/// 当前匹配的元素的数目。
/// 核心部分
/// </summary>
/// <returns type="Number" />
return this.length;
},
toArray: function() {
/// <summary>
/// 以数组的形式检索 jQuery 集中包含的所有 DOM 元素。
/// </summary>
/// <returns type="Array" />
return slice.call( this, 0 );
},
// Get the Nth element in the matched element set OR
// Get the whole matched element set as a clean array
get: function( num ) {
/// <summary>
/// 访问单个匹配的元素。num 用于访问
/// 匹配的第 N 个元素。
/// 核心部分
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
WebSite1.rar (65个子文件)
WebSite1
.vs
ProjectSettings.json 37B
slnx.sqlite 96KB
VSWorkspaceState.json 138B
WebSite1
v17
.wsuo 35KB
FileContentIndex
read.lock 0B
62efa7cb-2ffc-40d3-9d52-518899db0863.vsidx 229B
merges
b6f682ee-2fda-4fdb-a32b-c488c3e16838.vsidx 328KB
config
applicationhost.config 85KB
WebSite1
guanlitushu.aspx.cs 694B
chaxun.aspx 3KB
chaxun.aspx.cs 3KB
shouye2.aspx 5KB
chaxun2.aspx 3KB
About.aspx.cs 279B
MasterPage.master 2KB
jieyue.aspx 4KB
denglv.aspx.cs 2KB
App_Data
Database2.mdb 504KB
Global.asax 962B
Default2.aspx.cs 2KB
shouye.aspx 2KB
qita.aspx 739B
Site.master 2KB
guanliyonghu.aspx 3KB
xiugaiyonghu.aspx.cs 3KB
guanliyuan.aspx 1KB
Site.master.cs 290B
chaxun2.aspx.cs 3KB
guanlitushu.aspx 3KB
jieyue.aspx.cs 4KB
Styles
Site.css 4KB
qita.aspx.cs 276B
Default.aspx 4KB
img
denglu.jpg 16KB
defaut1.jpg 21KB
shouye2.aspx.cs 990B
MasterPage2.master 2KB
MasterPage3.master.cs 647B
Web.config 2KB
Account
Register.aspx.cs 814B
ChangePasswordSuccess.aspx.cs 303B
Register.aspx 6KB
ChangePassword.aspx 4KB
Web.config 330B
ChangePassword.aspx.cs 296B
ChangePasswordSuccess.aspx 494B
Login.aspx.cs 412B
Login.aspx 3KB
MasterPage2.master.cs 788B
shouye.aspx.cs 278B
guihuan.aspx.cs 1KB
MasterPage.master.cs 887B
Default2.aspx 3KB
guihuan.aspx 3KB
Scripts
jquery-1.4.1.js 165KB
jquery-1.4.1.min.js 70KB
jquery-1.4.1-vsdoc.js 234KB
Default.aspx.cs 663B
xiugaiyonghu.aspx 3KB
About.aspx 445B
denglv.aspx 2KB
guanliyonghu.aspx.cs 749B
WebSite1 (2).suo 18KB
guanliyuan.aspx.cs 282B
MasterPage3.master 2KB
共 65 条
- 1
资源评论
陈迷学习
- 粉丝: 312
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功