bc... []
Home » Source Code » C#.net hotel management system » jquery-1.4.1-vsdoc.js

jquery-1.4.1-vsdoc.js ( File view )

  • By wang__meng 2014-10-24
  • View(s):2050
  • Download(s):29
  • Point(s): 1
			/*
 * 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 个元素。
		///		核心部分
		///	</summary>
		///	<returns type="Element" />
		///	<param name="num" type="Number">
		///		访问处于第 N 个位置的元素。
		///	</param>

		return num == null ?

			// Return a 'clean' array
			this.toArray() :

			// Return just the object
			( num < 0 ? this.slice(num)[ 0 ] : this[ num ] );
	
},

	// Take an array of elements and push it onto the stack
	// (returning the new matched element set)
	pushStack: function( elems, name, selector ) {

		///	<summary>
		///		将 jQuery 对象设置为一个元素数组,同时对
		///		堆栈进行维护。
		///		核心部分
		///	</summary>
		///	<returns type="jQuery" />
		///	<param name="elems" type="Elements">
		///		元素数组
		///	</param>

		// Build a new jQuery matched element set
		var ret = jQuery( elems || null );

		// Add the old object onto the stack (as a reference)
		ret.prevObject = this;

		ret.context = this.context;

		if ( name === "find" ) {

			ret.selector = this.selector + (this.selector ? " " : "") + selector;
		
} else if ( name ) {

			ret.selector = this.selector + "." + name + "(" + selector + ")";
		
}

		// Return the newly-formed element set
		return ret;
	
},

	// Force the current matched set of elements to become
	// the specified array of elements (destroying the stack in the process)
	// You should use pushStack() in order to do this, but maintain the stack
	setArray: function( elems ) {

		///	<summary>
		///		将 jQuery 对象设置为一个元素数组。此操作具有十足的
		///		破坏性 - 如果您希望维护 jQuery 堆栈,
		///		请务必使用 .pushStack()。
		///		核心部分
		///	</summary>
		///	<returns type="jQuery" />
		///	<param name="elems" type="Elements">
		///		元素数组
		///	</param>

		// Resetting the length to 0, then using the native Array push
		// is a super-fast way to populate an object with array-like properties
		this.length = 0;
		push.apply( this, elems );

		return this;
	
},

	// Execute a callback for every element in the matched set.
	// (You can seed the arguments with an array of args, but this is
	// only used internally.)
	each: function( callback, args ) {

		///	<summary>
		//
...
...
(Not finished, please download and read the complete file)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 1

Download
0 lines left, continue to read

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
HotelRoom.bak3.41 MB2012-04-06|13:12
01.96 kB
About.aspx821.00 B2012-04-05|18:52
About.aspx.cs279.00 B2012-03-30|12:49
01.96 kB
ChangePassword.aspx4.33 kB2012-03-30|12:49
ChangePassword.aspx.cs296.00 B2012-03-30|12:49
ChangePasswordSuccess.aspx494.00 B2012-03-30|12:49
ChangePasswordSuccess.aspx.cs303.00 B2012-03-30|12:49
Login.aspx2.98 kB2012-03-30|12:49
Login.aspx.cs412.00 B2012-03-30|12:49
Register.aspx5.55 kB2012-03-30|12:49
Register.aspx.cs814.00 B2012-03-30|12:49
Web.config330.00 B2012-03-30|12:49
01.96 kB
HotelRoomDataSet.xsd12.72 kB2012-04-03|23:44
01.96 kB
ASPNETDB.MDF10.00 MB2012-04-06|13:19
aspnetdb_log.ldf504.00 kB2012-04-06|13:19
Default.aspx2.90 kB2012-04-06|12:56
Default.aspx.cs472.00 B2012-03-31|23:30
Global.asax1.44 kB2012-03-30|21:27
01.96 kB
1.jpg108.61 kB2012-04-03|16:55
10.jpg162.23 kB2012-04-03|17:00
11.jpg151.32 kB2012-04-03|17:00
12.jpg76.01 kB2012-04-03|17:00
2.jpg59.00 kB2012-04-03|16:52
3.jpg49.92 kB2012-04-03|17:03
4.jpg71.51 kB2012-04-03|17:04
5.jpg32.66 kB2012-04-03|16:52
6.jpg64.42 kB2012-04-03|16:52
7.jpg49.27 kB2012-04-03|17:03
8.jpg42.26 kB2012-04-03|16:53
9.jpg91.42 kB2012-04-03|16:52
01.96 kB
Addmanage.aspx3.10 kB2012-04-05|13:34
Addmanage.aspx.cs1.71 kB2012-04-05|13:24
Addmember.aspx5.62 kB2012-04-04|23:13
Addmember.aspx.cs2.27 kB2012-04-04|22:41
check-out.aspx4.71 kB2012-04-02|23:17
check-out.aspx.cs6.25 kB2012-04-05|22:49
expend-forms.aspx2.98 kB2012-04-04|22:24
expend-forms.aspx.cs407.00 B2012-04-03|23:40
manage.aspx4.34 kB2012-04-04|21:28
manage.aspx.cs7.95 kB2012-04-05|22:41
member-forms.aspx2.79 kB2012-04-06|12:02
member-forms.aspx.cs407.00 B2012-04-03|23:40
member-manage.aspx6.47 kB2012-04-04|23:14
member-manage.aspx.cs4.94 kB2012-04-04|22:46
Register.aspx8.33 kB2012-04-04|15:31
Register.aspx.cs8.01 kB2012-04-06|12:44
report-forms.aspx2.80 kB2012-04-04|22:38
report-forms.aspx.cs407.00 B2012-04-03|23:40
service.aspx4.59 kB2012-04-04|20:49
service.aspx.cs9.93 kB2012-04-05|13:35
01.96 kB
jquery-1.4.1.js164.84 kB2010-05-04|06:45
jquery-1.4.1.min.js70.24 kB2010-05-04|06:45
jquery-1.4.1-vsdoc.js234.21 kB2010-05-04|06:45
Site.master3.89 kB2012-04-06|12:10
Site.master.cs290.00 B2012-03-30|12:49
Site2.master3.89 kB2012-04-06|12:11
Site2.master.cs290.00 B2012-03-30|12:49
01.96 kB
Site.css4.14 kB2012-04-05|18:42
Web.config3.63 kB2012-04-03|23:42
+?-???-+??-+.doc1.67 MB2012-04-06|13:00
+=????+_.exe19.58 MB2012-04-05|22:59
...

jquery-1.4.1-vsdoc.js (27.84 MB)

Need 1 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D