﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-袁章洪的博客</title><link>http://www.cnitblog.com/wuxsoft/</link><description>比你想象中的多...你想一下你值多少？</description><language>zh-cn</language><lastBuildDate>Wed, 29 Apr 2026 11:23:05 GMT</lastBuildDate><pubDate>Wed, 29 Apr 2026 11:23:05 GMT</pubDate><ttl>60</ttl><item><title>用 Python + django 10分钟內作出一個 blog</title><link>http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48017.html</link><dc:creator>wuxsoft</dc:creator><author>wuxsoft</author><pubDate>Fri, 15 Aug 2008 04:07:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48017.html</guid><wfw:comment>http://www.cnitblog.com/wuxsoft/comments/48017.html</wfw:comment><comments>http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48017.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxsoft/comments/commentRss/48017.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxsoft/services/trackbacks/48017.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在 Ruby on Rails 的官方網站上有 15 分鐘作出一個 weblog 的 screencast，的確 demo 了 RoR 開發的快速。不過萬萬不可太迷信只有 RoR 能這麼神速，根據最近擠出一點時間看 django 的東西後，我也想先來作個「10分鐘做出 blog 的挑戰」。（由於還不太會用製作 screen cast 的軟體，所以只能用文字介紹..）這篇文章只是描述一下建構過程，所以不會介紹 django 環境的安裝設定，請讀者見諒。<br><br>稍微簡介一下 django，它是一個基於 Python 語言的 Web 開發框架（framework）。&nbsp;&nbsp;<a href='http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48017.html'>阅读全文</a><img src ="http://www.cnitblog.com/wuxsoft/aggbug/48017.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxsoft/" target="_blank">wuxsoft</a> 2008-08-15 12:07 <a href="http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48017.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>django for google Appengine</title><link>http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48016.html</link><dc:creator>wuxsoft</dc:creator><author>wuxsoft</author><pubDate>Fri, 15 Aug 2008 04:06:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48016.html</guid><wfw:comment>http://www.cnitblog.com/wuxsoft/comments/48016.html</wfw:comment><comments>http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48016.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxsoft/comments/commentRss/48016.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxsoft/services/trackbacks/48016.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: appengine一出来就进行申请，结果没有申请上，5月底，google开放了申请，终于可以在google服务器上编写程序了。 appengine内部已经包含了django框架，可以很方便使用，同时提供了google的用户验证，以及google的数据库系统等，可以部分替换 django的验证系统，model等。&nbsp;&nbsp;<a href='http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48016.html'>阅读全文</a><img src ="http://www.cnitblog.com/wuxsoft/aggbug/48016.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxsoft/" target="_blank">wuxsoft</a> 2008-08-15 12:06 <a href="http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48016.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>jQuery API 中文版之Core</title><link>http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48014.html</link><dc:creator>wuxsoft</dc:creator><author>wuxsoft</author><pubDate>Fri, 15 Aug 2008 03:05:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48014.html</guid><wfw:comment>http://www.cnitblog.com/wuxsoft/comments/48014.html</wfw:comment><comments>http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48014.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxsoft/comments/commentRss/48014.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxsoft/services/trackbacks/48014.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: $(html)<br><br>根据提供的原始HTML标记字符串，动态创建由jQuery对象包装的DOM元素。<br><br>Create DOM elements on-the-fly from the provided String of raw HTML.<br>返回值<br><br>jQuery<br>参数<br><br>    * html (String): 用于动态创建DOM元素的HTML标记字符串<br><br>示例<br>说明:<br><br>动态创建一个div元素（以及其中的所有内容），并将它追加到ID值为body的元素中。在这个函数的内部，是通过临时创建一个元素，并将这个元素的innerHTML属性设置为给定的标记字符串，来实现标记到DOM元素转换的。所以，这个函数既有灵活性，也有局限性。 &nbsp;&nbsp;<a href='http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48014.html'>阅读全文</a><img src ="http://www.cnitblog.com/wuxsoft/aggbug/48014.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxsoft/" target="_blank">wuxsoft</a> 2008-08-15 11:05 <a href="http://www.cnitblog.com/wuxsoft/archive/2008/08/15/48014.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>jQuery手册</title><link>http://www.cnitblog.com/wuxsoft/archive/2007/07/24/30498.html</link><dc:creator>wuxsoft</dc:creator><author>wuxsoft</author><pubDate>Tue, 24 Jul 2007 03:51:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxsoft/archive/2007/07/24/30498.html</guid><wfw:comment>http://www.cnitblog.com/wuxsoft/comments/30498.html</wfw:comment><comments>http://www.cnitblog.com/wuxsoft/archive/2007/07/24/30498.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxsoft/comments/commentRss/30498.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxsoft/services/trackbacks/30498.html</trackback:ping><description><![CDATA[
		<span style="font-size: 10pt;">下载完成后先加载到文档中，然后我们来看个简单的例子！</span>
		<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
				<span style="color: rgb(0, 0, 0);">&lt;</span>
				<span style="color: rgb(0, 0, 0);">script language</span>
				<span style="color: rgb(0, 0, 0);">=</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">javascript</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">type</span>
				<span style="color: rgb(0, 0, 0);">=</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">text/javascript</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">   <br />     $(document).ready(</span>
				<span style="color: rgb(0, 0, 255);">function</span>
				<span style="color: rgb(0, 0, 0);">(){<br />         $(</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">a</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">).click(</span>
				<span style="color: rgb(0, 0, 255);">function</span>
				<span style="color: rgb(0, 0, 0);">() {<br />         alert(</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">Hello world!</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">);<br />    });<br />});<br /></span>
				<span style="color: rgb(0, 0, 0);">&lt;</span>
				<span style="color: rgb(0, 0, 0);">script</span>
				<span style="color: rgb(0, 0, 0);">&gt;</span>
		</div>
		<p>     <span style="font-size: 10pt;">上边的效果是点击文档中所有a标签时将弹出对话框，$("a") 是一个jQuery选择器，$本身表示一个jQuery类，所有$()是构造一个jQuery对象，click()是这个对象的方法，同理$(document)也是一个jQuery对象，ready(fn)是$(document)的方法，表示当document全部下载完毕时执行函数。<br />      在进行下面内容之前我还要说明一点$("p")和$("#p")的区别,$("p")表示取所有p标签(&lt;p&gt;&lt;/p&gt;)的元素,$("#p")表示取id为"p"(&lt;span   id="p"&gt;&lt;/span&gt;)的元素.</span></p>
		<p>
				<span style="font-size: 10pt;">我将从以下几个内容来讲解jQuery的使用:<br />1:核心部分<br />2:DOM操作<br />3:css操作<br />4:javascript处理<br />5:动态效果<br />6:event事件 <br />7:ajax支持 <br />8:插件程序</span>
		</p>
		<p>                                             <u><strong style="font-size: 18pt;">一：核心部分</strong></u><br /><span style="font-size: 12pt;"><strong style="font-size: 12pt; color: red;">$(expr)<br /></strong></span><span style="font-size: 10pt;">说明：该函数可以通过css选择器，Xpath或html代码来匹配目标元素，所有的jQuery操作都以此为基础<br />参数：expr：字符串，一个查询表达式或一段html字符串<br /><strong>例子：</strong><br />未执行jQuery前：</span></p>
		<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
				<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
				<span style="color: rgb(0, 0, 255);">&lt;</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">one</span>
				<span style="color: rgb(0, 0, 255);">&lt;/</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">
						<br />
						<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="color: rgb(0, 0, 255);">&lt;</span>
				<span style="color: rgb(128, 0, 0);">div</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">
						<br />
						<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />      </span>
				<span style="color: rgb(0, 0, 255);">&lt;</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">two</span>
				<span style="color: rgb(0, 0, 255);">&lt;/</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">
						<br />
						<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="color: rgb(0, 0, 255);">&lt;/</span>
				<span style="color: rgb(128, 0, 0);">div</span>
				<span style="color: rgb(0, 0, 255);">&gt;<br />     &lt;</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">three</span>
				<span style="color: rgb(0, 0, 255);">&lt;/</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">
						<br />
				</span>
				<span style="color: rgb(0, 0, 255);">     &lt;</span>
				<span style="color: rgb(128, 0, 0);">a </span>
				<span style="color: rgb(255, 0, 0);">href</span>
				<span style="color: rgb(0, 0, 255);">="#"</span>
				<span style="color: rgb(255, 0, 0);">id</span>
				<span style="color: rgb(0, 0, 255);">="test"</span>
				<span style="color: rgb(255, 0, 0);">onClick</span>
				<span style="color: rgb(0, 0, 255);">="jq()"</span>
				<span style="color: rgb(255, 0, 0);">
				</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">jQuery</span>
				<span style="color: rgb(0, 0, 255);">&lt;/</span>
				<span style="color: rgb(128, 0, 0);">a</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
		</div>
		<br />
		<span style="font-size: 10pt;">jQuery代码及功能：</span>
		<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
				<span style="color: rgb(0, 0, 255);">function</span>
				<span style="color: rgb(0, 0, 0);">jq(){  <br />     alert($(</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">div &gt; p</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">).html());  <br />}</span>
		</div>
		<span style="font-size: 10pt;">运行：当点击id为test的元素时，弹出对话框文字为two，即div标签下p元素的内容</span>
		<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
				<span style="color: rgb(0, 0, 255);">function</span>
				<span style="color: rgb(0, 0, 0);">jq(){<br />     $(</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">&lt;div&gt;&lt;p&gt;Hello&lt;/p&gt;&lt;/div&gt;</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">).appendTo(</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">body</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">);<br />}</span>
		</div>
		<span style="font-size: 10pt;">运行：当点击id为test的元素时，向body中添加“&lt;div&gt;&lt;p&gt;Hello&lt;/p&gt;&lt;/div&gt;”</span>
		<br />
		<br />
		<span style="font-size: 12pt;">
				<strong style="color: red;">$(elem)</strong>
		</span>
		<br />
		<span style="font-size: 10pt;">说明：限制jQuery作用于一个特定的dom元素，这个函数也接受xml文档和windows对象<br />参数： elem：通过jQuery对象压缩的DOM元素<br />例子：<br />未执行jQuery前：</span>
		<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
				<span style="color: rgb(0, 0, 255);">&lt;</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">one</span>
				<span style="color: rgb(0, 0, 255);">&lt;/</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">
						<br />  </span>
				<span style="color: rgb(0, 0, 255);">&lt;</span>
				<span style="color: rgb(128, 0, 0);">div</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">
						<br />     </span>
				<span style="color: rgb(0, 0, 255);">&lt;</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">two</span>
				<span style="color: rgb(0, 0, 255);">&lt;/</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">
						<br />  </span>
				<span style="color: rgb(0, 0, 255);">&lt;/</span>
				<span style="color: rgb(128, 0, 0);">div</span>
				<span style="color: rgb(0, 0, 255);">&gt;&lt;</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">three</span>
				<span style="color: rgb(0, 0, 255);">&lt;/</span>
				<span style="color: rgb(128, 0, 0);">p</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">
						<br />
				</span>
				<span style="color: rgb(0, 0, 255);">&lt;</span>
				<span style="color: rgb(128, 0, 0);">a </span>
				<span style="color: rgb(255, 0, 0);">href</span>
				<span style="color: rgb(0, 0, 255);">="#"</span>
				<span style="color: rgb(255, 0, 0);">id</span>
				<span style="color: rgb(0, 0, 255);">="test"</span>
				<span style="color: rgb(255, 0, 0);">onClick</span>
				<span style="color: rgb(0, 0, 255);">="jq()"</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
				<span style="color: rgb(0, 0, 0);">jQuery</span>
				<span style="color: rgb(0, 0, 255);">&lt;/</span>
				<span style="color: rgb(128, 0, 0);">a</span>
				<span style="color: rgb(0, 0, 255);">&gt;</span>
		</div>
		<span style="font-size: 10pt;">jQuery代码及功能：</span>
		<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
				<span style="color: rgb(0, 0, 255);">function</span>
				<span style="color: rgb(0, 0, 0);">jq(){<br />     alert($(document).find(</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">div &gt; p</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">).html());<br />}</span>
		</div>
		<span style="font-size: 10pt;">运行：当点击id为test的元素时，弹出对话框文字为two，即div标签下p元素的内容</span>
		<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
				<span style="color: rgb(0, 0, 255);">function</span>
				<span style="color: rgb(0, 0, 0);">jq(){<br />    $(document.body).background(</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">black</span>
				<span style="color: rgb(0, 0, 0);">"</span>
				<span style="color: rgb(0, 0, 0);">);<br />}</span>
		</div>
		<span style="font-size: 10pt;">运行：当点击id为test的元素时，背景色变成黑色<br /></span>
		<br />
		<span style="font-size: 12pt;">
				<strong style="color: red;">
						<span style="font-size: 12pt;">$(elems)</span>
						<br />
				</strong>
				<font size="3">
						<span style="font-size: 10pt;">说明：限制jQuery作用于一组特定的DOM元素<br />参数： elem：一组通过jQuery对象压缩的DOM元素<br />例子：<br />未执行jQuery前：</span>
						<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
								<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">form </span>
								<span style="color: rgb(255, 0, 0);">id</span>
								<span style="color: rgb(0, 0, 255);">="form1"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
										<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />      </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">input </span>
								<span style="color: rgb(255, 0, 0);">type</span>
								<span style="color: rgb(0, 0, 255);">="text"</span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="textfield"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
										<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />      </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">input </span>
								<span style="color: rgb(255, 0, 0);">type</span>
								<span style="color: rgb(0, 0, 255);">="submit"</span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="Submit"</span>
								<span style="color: rgb(255, 0, 0);">value</span>
								<span style="color: rgb(0, 0, 255);">="提交"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
										<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
								</span>
								<span style="color: rgb(0, 0, 255);">&lt;/</span>
								<span style="color: rgb(128, 0, 0);">form</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
										<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
								</span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">a </span>
								<span style="color: rgb(255, 0, 0);">href</span>
								<span style="color: rgb(0, 0, 255);">="#"</span>
								<span style="color: rgb(255, 0, 0);">id</span>
								<span style="color: rgb(0, 0, 255);">="test"</span>
								<span style="color: rgb(255, 0, 0);">onClick</span>
								<span style="color: rgb(0, 0, 255);">="jq()"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">jQuery</span>
								<span style="color: rgb(0, 0, 255);">&lt;/</span>
								<span style="color: rgb(128, 0, 0);">a</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
						</div>
						<span style="font-size: 10pt;">jQuery代码及功能：</span>
						<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
								<span style="color: rgb(0, 0, 255);">function</span>
								<span style="color: rgb(0, 0, 0);">jq(){ <br />    $(form1.elements ).hide(); <br />}</span>
						</div>
				</font>
		</span>
		<span style="font-size: 10pt;">运行：当点击id为test的元素时，隐藏form1表单中的所有元素。</span>
		<br />
		<br />
		<span style="font-size: 12pt;">
				<strong style="color: red;">
						<span style="font-size: 12pt;">$(fn)</span>
						<br />
				</strong>
				<font size="3">
						<span style="font-size: 10pt;">说明：$(document).ready()的一个速记方式，当文档全部载入时执行函数。可以有多个$(fn)当文档载入时，同时执行所有函数！<br />参数：fn (Function):当文档载入时执行的函数！<br />例子：</span>
						<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
								<span style="color: rgb(0, 0, 0);">$( </span>
								<span style="color: rgb(0, 0, 255);">function</span>
								<span style="color: rgb(0, 0, 0);">(){<br />     $(document.body).background(</span>
								<span style="color: rgb(0, 0, 0);">"</span>
								<span style="color: rgb(0, 0, 0);">black</span>
								<span style="color: rgb(0, 0, 0);">"</span>
								<span style="color: rgb(0, 0, 0);">);<br />})</span>
						</div>
						<span style="font-size: 10pt;">运行：当文档载入时背景变成黑色，相当于onLoad。</span>
						<br />
						<br />
						<span style="font-size: 12pt;">
								<strong style="color: red;">
										<span style="font-size: 12pt;">$(obj)</span>
										<br />
								</strong>
								<font size="3">
										<span style="font-size: 10pt;">说明：复制一个jQuery对象，<br />参数：obj (jQuery): 要复制的jQuery对象<br />例子：<br />未执行jQuery前：</span>
										<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
												<span style="color: rgb(0, 0, 255);">&lt;</span>
												<span style="color: rgb(128, 0, 0);">p</span>
												<span style="color: rgb(0, 0, 255);">&gt;</span>
												<span style="color: rgb(0, 0, 0);">one</span>
												<span style="color: rgb(0, 0, 255);">&lt;/</span>
												<span style="color: rgb(128, 0, 0);">p</span>
												<span style="color: rgb(0, 0, 255);">&gt;</span>
												<span style="color: rgb(0, 0, 0);">
														<br />
												</span>
												<span style="color: rgb(0, 0, 255);">&lt;</span>
												<span style="color: rgb(128, 0, 0);">div</span>
												<span style="color: rgb(0, 0, 255);">&gt;</span>
												<span style="color: rgb(0, 0, 0);">
														<br />   </span>
												<span style="color: rgb(0, 0, 255);">&lt;</span>
												<span style="color: rgb(128, 0, 0);">p</span>
												<span style="color: rgb(0, 0, 255);">&gt;</span>
												<span style="color: rgb(0, 0, 0);">two</span>
												<span style="color: rgb(0, 0, 255);">&lt;/</span>
												<span style="color: rgb(128, 0, 0);">p</span>
												<span style="color: rgb(0, 0, 255);">&gt;</span>
												<span style="color: rgb(0, 0, 0);">
														<br />
												</span>
												<span style="color: rgb(0, 0, 255);">&lt;/</span>
												<span style="color: rgb(128, 0, 0);">div</span>
												<span style="color: rgb(0, 0, 255);">&gt;</span>
												<span style="color: rgb(0, 0, 0);">
														<br />
												</span>
												<span style="color: rgb(0, 0, 255);">&lt;</span>
												<span style="color: rgb(128, 0, 0);">p</span>
												<span style="color: rgb(0, 0, 255);">&gt;</span>
												<span style="color: rgb(0, 0, 0);">three</span>
												<span style="color: rgb(0, 0, 255);">&lt;/</span>
												<span style="color: rgb(128, 0, 0);">p</span>
												<span style="color: rgb(0, 0, 255);">&gt;</span>
												<span style="color: rgb(0, 0, 0);">
														<br />
												</span>
												<span style="color: rgb(0, 0, 255);">&lt;</span>
												<span style="color: rgb(128, 0, 0);">a </span>
												<span style="color: rgb(255, 0, 0);">href</span>
												<span style="color: rgb(0, 0, 255);">="#"</span>
												<span style="color: rgb(255, 0, 0);">id</span>
												<span style="color: rgb(0, 0, 255);">="test"</span>
												<span style="color: rgb(255, 0, 0);">onClick</span>
												<span style="color: rgb(0, 0, 255);">="jq()"</span>
												<span style="color: rgb(0, 0, 255);">&gt;</span>
												<span style="color: rgb(0, 0, 0);">jQuery</span>
												<span style="color: rgb(0, 0, 255);">&lt;/</span>
												<span style="color: rgb(128, 0, 0);">a</span>
												<span style="color: rgb(0, 0, 255);">&gt;</span>
										</div>
										<span style="font-size: 10pt;">jQuery代码及功能：</span>
										<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
												<span style="color: rgb(0, 0, 255);">function</span>
												<span style="color: rgb(0, 0, 0);">jq(){<br />    </span>
												<span style="color: rgb(0, 0, 255);">var</span>
												<span style="color: rgb(0, 0, 0);">f </span>
												<span style="color: rgb(0, 0, 0);">=</span>
												<span style="color: rgb(0, 0, 0);">$(</span>
												<span style="color: rgb(0, 0, 0);">"</span>
												<span style="color: rgb(0, 0, 0);">div</span>
												<span style="color: rgb(0, 0, 0);">"</span>
												<span style="color: rgb(0, 0, 0);">); <br />     alert($(f).find(</span>
												<span style="color: rgb(0, 0, 0);">"</span>
												<span style="color: rgb(0, 0, 0);">p</span>
												<span style="color: rgb(0, 0, 0);">"</span>
												<span style="color: rgb(0, 0, 0);">).html()) <br />}</span>
										</div>
										<span style="font-size: 10pt;">运行：当点击id为test的元素时，弹出对话框文字为two，即div标签下p元素的内容。</span>
										<br />
										<br />
										<span style="font-size: 12pt;">
												<strong style="color: red;">
														<span style="font-size: 12pt;">each(fn)</span>
														<br />
												</strong>
												<font size="3">
														<span style="font-size: 10pt;">说明：将函数作用于所有匹配的对象上<br />参数：fn (Function): 需要执行的函数<br />例子：<br />未执行jQuery前：</span>
														<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
																<span style="color: rgb(0, 0, 255);">&lt;</span>
																<span style="color: rgb(128, 0, 0);">img </span>
																<span style="color: rgb(255, 0, 0);">src</span>
																<span style="color: rgb(0, 0, 255);">="1.jpg"</span>
																<span style="color: rgb(0, 0, 255);">/&gt;</span>
																<span style="color: rgb(0, 0, 0);">
																		<br />
																</span>
																<span style="color: rgb(0, 0, 255);">&lt;</span>
																<span style="color: rgb(128, 0, 0);">img </span>
																<span style="color: rgb(255, 0, 0);">src</span>
																<span style="color: rgb(0, 0, 255);">="1.jpg"</span>
																<span style="color: rgb(0, 0, 255);">/&gt;</span>
																<span style="color: rgb(0, 0, 0);">
																		<br />
																</span>
																<span style="color: rgb(0, 0, 255);">&lt;</span>
																<span style="color: rgb(128, 0, 0);">a </span>
																<span style="color: rgb(255, 0, 0);">href</span>
																<span style="color: rgb(0, 0, 255);">="#"</span>
																<span style="color: rgb(255, 0, 0);">id</span>
																<span style="color: rgb(0, 0, 255);">="test"</span>
																<span style="color: rgb(255, 0, 0);">onClick</span>
																<span style="color: rgb(0, 0, 255);">="jq()"</span>
																<span style="color: rgb(0, 0, 255);">&gt;</span>
																<span style="color: rgb(0, 0, 0);">jQuery</span>
																<span style="color: rgb(0, 0, 255);">&lt;/</span>
																<span style="color: rgb(128, 0, 0);">a</span>
																<span style="color: rgb(0, 0, 255);">&gt;</span>
														</div>
														<span style="font-size: 10pt;">jQuery代码及功能：</span>
														<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
																<span style="color: rgb(0, 0, 255);">function</span>
																<span style="color: rgb(0, 0, 0);">jq(){<br />    $(</span>
																<span style="color: rgb(0, 0, 0);">"</span>
																<span style="color: rgb(0, 0, 0);">img</span>
																<span style="color: rgb(0, 0, 0);">"</span>
																<span style="color: rgb(0, 0, 0);">).each(</span>
																<span style="color: rgb(0, 0, 255);">function</span>
																<span style="color: rgb(0, 0, 0);">(){ <br />        </span>
																<span style="color: rgb(0, 0, 255);">this</span>
																<span style="color: rgb(0, 0, 0);">.src </span>
																<span style="color: rgb(0, 0, 0);">=</span>
																<span style="color: rgb(0, 0, 0);">
																</span>
																<span style="color: rgb(0, 0, 0);">"</span>
																<span style="color: rgb(0, 0, 0);">2.jpg</span>
																<span style="color: rgb(0, 0, 0);">"</span>
																<span style="color: rgb(0, 0, 0);">; });<br />}</span>
														</div>
														<span style="font-size: 10pt;">运行：当点击id为test的元素时，img标签的src都变成了2.jpg。</span>
														<br />
														<br />
														<span style="font-size: 12pt;">
																<strong style="color: red;">
																		<span style="font-size: 12pt;">eq(pos)</span>
																		<br />
																</strong>
																<font size="3">
																		<span style="font-size: 10pt;">说明：减少匹配对象到一个单独得dom元素<br />参数：pos (Number): 期望限制的索引，从0 开始<br />例子：<br />未执行jQuery前：</span>
																		<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
																				<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
																				<span style="color: rgb(0, 0, 255);">&lt;</span>
																				<span style="color: rgb(128, 0, 0);">p</span>
																				<span style="color: rgb(0, 0, 255);">&gt;</span>
																				<span style="color: rgb(0, 0, 0);">This is just a test.</span>
																				<span style="color: rgb(0, 0, 255);">&lt;/</span>
																				<span style="color: rgb(128, 0, 0);">p</span>
																				<span style="color: rgb(0, 0, 255);">&gt;</span>
																				<span style="color: rgb(0, 0, 0);">
																						<br />
																						<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
																				</span>
																				<span style="color: rgb(0, 0, 255);">&lt;</span>
																				<span style="color: rgb(128, 0, 0);">p</span>
																				<span style="color: rgb(0, 0, 255);">&gt;</span>
																				<span style="color: rgb(0, 0, 0);">So is this</span>
																				<span style="color: rgb(0, 0, 255);">&lt;/</span>
																				<span style="color: rgb(128, 0, 0);">p</span>
																				<span style="color: rgb(0, 0, 255);">&gt;</span>
																				<span style="color: rgb(0, 0, 0);">
																						<br />
																						<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
																				</span>
																				<span style="color: rgb(0, 0, 255);">&lt;</span>
																				<span style="color: rgb(128, 0, 0);">a </span>
																				<span style="color: rgb(255, 0, 0);">href</span>
																				<span style="color: rgb(0, 0, 255);">="#"</span>
																				<span style="color: rgb(255, 0, 0);">id</span>
																				<span style="color: rgb(0, 0, 255);">="test"</span>
																				<span style="color: rgb(255, 0, 0);">onClick</span>
																				<span style="color: rgb(0, 0, 255);">="jq()"</span>
																				<span style="color: rgb(0, 0, 255);">&gt;</span>
																				<span style="color: rgb(0, 0, 0);">jQuery</span>
																				<span style="color: rgb(0, 0, 255);">&lt;/</span>
																				<span style="color: rgb(128, 0, 0);">a</span>
																				<span style="color: rgb(0, 0, 255);">&gt;</span>
																		</div>
																		<span style="font-size: 10pt;">jQuery代码及功能：</span>
																		<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
																				<span style="color: rgb(0, 0, 255);">function</span>
																				<span style="color: rgb(0, 0, 0);">jq(){<br />     alert($(</span>
																				<span style="color: rgb(0, 0, 0);">"</span>
																				<span style="color: rgb(0, 0, 0);">p</span>
																				<span style="color: rgb(0, 0, 0);">"</span>
																				<span style="color: rgb(0, 0, 0);">).eq(</span>
																				<span style="color: rgb(0, 0, 0);">1</span>
																				<span style="color: rgb(0, 0, 0);">).html())<br />}</span>
																		</div>
																		<span style="font-size: 10pt;">运行：当点击id为test的元素时，alert对话框显示：So is this，即第二个&lt;p&gt;标签的内容<br /></span>
																		<br />
																		<span style="font-size: 12pt;">
																				<span style="font-size: 12pt;">
																						<font style="font-size: 12pt;" color="#000000" size="3">
																								<strong style="color: red;">get() get(num)<br /></strong>
																						</font>
																				</span>
																				<font size="3">
																						<span style="font-size: 10pt;">说明：获取匹配元素，get(num)返回匹配元素中的某一个元素<br />参数：get (Number): 期望限制的索引，从0 开始<br />例子：<br />未执行jQuery前：</span>
																						<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
																								<span style="color: rgb(0, 0, 255);">&lt;</span>
																								<span style="color: rgb(128, 0, 0);">p</span>
																								<span style="color: rgb(0, 0, 255);">&gt;</span>
																								<span style="color: rgb(0, 0, 0);">This is just a test.</span>
																								<span style="color: rgb(0, 0, 255);">&lt;/</span>
																								<span style="color: rgb(128, 0, 0);">p</span>
																								<span style="color: rgb(0, 0, 255);">&gt;</span>
																								<span style="color: rgb(0, 0, 0);">
																										<br />
																								</span>
																								<span style="color: rgb(0, 0, 255);">&lt;</span>
																								<span style="color: rgb(128, 0, 0);">p</span>
																								<span style="color: rgb(0, 0, 255);">&gt;</span>
																								<span style="color: rgb(0, 0, 0);">So is this</span>
																								<span style="color: rgb(0, 0, 255);">&lt;/</span>
																								<span style="color: rgb(128, 0, 0);">p</span>
																								<span style="color: rgb(0, 0, 255);">&gt;</span>
																								<span style="color: rgb(0, 0, 0);">
																										<br />
																								</span>
																								<span style="color: rgb(0, 0, 255);">&lt;</span>
																								<span style="color: rgb(128, 0, 0);">a </span>
																								<span style="color: rgb(255, 0, 0);">href</span>
																								<span style="color: rgb(0, 0, 255);">="#"</span>
																								<span style="color: rgb(255, 0, 0);">id</span>
																								<span style="color: rgb(0, 0, 255);">="test"</span>
																								<span style="color: rgb(255, 0, 0);">onClick</span>
																								<span style="color: rgb(0, 0, 255);">="jq()"</span>
																								<span style="color: rgb(0, 0, 255);">&gt;</span>
																								<span style="color: rgb(0, 0, 0);">jQuery</span>
																								<span style="color: rgb(0, 0, 255);">&lt;/</span>
																								<span style="color: rgb(128, 0, 0);">a</span>
																								<span style="color: rgb(0, 0, 255);">&gt;</span>
																						</div>
																						<span style="font-size: 10pt;">jQuery代码及功能：</span>
																						<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
																								<span style="color: rgb(0, 0, 255);">function</span>
																								<span style="color: rgb(0, 0, 0);">jq(){<br />     alert($(</span>
																								<span style="color: rgb(0, 0, 0);">"</span>
																								<span style="color: rgb(0, 0, 0);">p</span>
																								<span style="color: rgb(0, 0, 0);">"</span>
																								<span style="color: rgb(0, 0, 0);">).get(</span>
																								<span style="color: rgb(0, 0, 0);">1</span>
																								<span style="color: rgb(0, 0, 0);">).innerHTML);<br />}</span>
																						</div>
																						<span style="font-size: 10pt;">运行：当点击id为test的元素时，alert对话框显示：So is this，即第二个&lt;p&gt;标签的内容<br /></span>
																						<span style="font-size: 10pt; color: rgb(153, 51, 102);">
																								<strong>注意get和eq的区别，eq返回的是jQuery对象，get返回的是所匹配的dom对象，所有取$("p").eq(1)对象的内容用jQuery方法html()，而取$("p").get(1)的内容用innerHTML<br /></strong>
																						</span>
																						<br />
																						<span style="font-size: 12pt;">
																								<span style="font-size: 12pt;">
																										<font style="font-size: 12pt;" color="#000000" size="3">
																												<strong style="color: red;">index(obj)<br /></strong>
																										</font>
																								</span>
																								<font size="3">
																										<span style="font-size: 10pt;">说明：返回对象索引<br />参数：obj (Object): 要查找的对象<br />例子：<br />未执行jQuery前：</span>
																										<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
																												<span style="color: rgb(0, 0, 255);">&lt;</span>
																												<span style="color: rgb(128, 0, 0);">div </span>
																												<span style="color: rgb(255, 0, 0);">id</span>
																												<span style="color: rgb(0, 0, 255);">="test1"</span>
																												<span style="color: rgb(0, 0, 255);">&gt;&lt;/</span>
																												<span style="color: rgb(128, 0, 0);">div</span>
																												<span style="color: rgb(0, 0, 255);">&gt;</span>
																												<span style="color: rgb(0, 0, 0);">
																														<br />
																												</span>
																												<span style="color: rgb(0, 0, 255);">&lt;</span>
																												<span style="color: rgb(128, 0, 0);">div </span>
																												<span style="color: rgb(255, 0, 0);">id</span>
																												<span style="color: rgb(0, 0, 255);">="test2"</span>
																												<span style="color: rgb(0, 0, 255);">&gt;&lt;/</span>
																												<span style="color: rgb(128, 0, 0);">div</span>
																												<span style="color: rgb(0, 0, 255);">&gt;</span>
																												<span style="color: rgb(0, 0, 0);">
																														<br />
																												</span>
																												<span style="color: rgb(0, 0, 255);">&lt;</span>
																												<span style="color: rgb(128, 0, 0);">a </span>
																												<span style="color: rgb(255, 0, 0);">href</span>
																												<span style="color: rgb(0, 0, 255);">="#"</span>
																												<span style="color: rgb(255, 0, 0);">id</span>
																												<span style="color: rgb(0, 0, 255);">="test"</span>
																												<span style="color: rgb(255, 0, 0);">onClick</span>
																												<span style="color: rgb(0, 0, 255);">="jq()"</span>
																												<span style="color: rgb(0, 0, 255);">&gt;</span>
																												<span style="color: rgb(0, 0, 0);">jQuery</span>
																												<span style="color: rgb(0, 0, 255);">&lt;/</span>
																												<span style="color: rgb(128, 0, 0);">a</span>
																												<span style="color: rgb(0, 0, 255);">&gt;</span>
																										</div>
																										<span style="font-size: 10pt;">jQuery代码及功能：</span>
																										<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
																												<span style="color: rgb(0, 0, 255);">function</span>
																												<span style="color: rgb(0, 0, 0);">jq(){<br />     alert($(</span>
																												<span style="color: rgb(0, 0, 0);">"</span>
																												<span style="color: rgb(0, 0, 0);">div</span>
																												<span style="color: rgb(0, 0, 0);">"</span>
																												<span style="color: rgb(0, 0, 0);">).index(document.getElementById('test1')));<br />     alert($(</span>
																												<span style="color: rgb(0, 0, 0);">"</span>
																												<span style="color: rgb(0, 0, 0);">div</span>
																												<span style="color: rgb(0, 0, 0);">"</span>
																												<span style="color: rgb(0, 0, 0);">).index(document.getElementById('test2')));<br />}</span>
																										</div>
																										<span style="font-size: 10pt;">运行：当点击id为test的元素时，两次弹出alert对话框分别显示0，1<br /></span>
																										<br />
																										<span style="font-size: 12pt;">
																												<span style="font-size: 12pt;">
																														<font style="font-size: 12pt;" color="#000000" size="3">
																																<strong style="color: red;">size()    Length<br /></strong>
																														</font>
																												</span>
																												<font size="3">
																														<span style="font-size: 10pt;">说明：当前匹配对象的数量，两者等价<br />例子：<br />未执行jQuery前：</span>
																														<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
																																<span style="color: rgb(0, 0, 255);">&lt;</span>
																																<span style="color: rgb(128, 0, 0);">img </span>
																																<span style="color: rgb(255, 0, 0);">src</span>
																																<span style="color: rgb(0, 0, 255);">="test1.jpg"</span>
																																<span style="color: rgb(0, 0, 255);">/&gt;</span>
																																<span style="color: rgb(0, 0, 0);">
																																		<br />
																																</span>
																																<span style="color: rgb(0, 0, 255);">&lt;</span>
																																<span style="color: rgb(128, 0, 0);">img </span>
																																<span style="color: rgb(255, 0, 0);">src</span>
																																<span style="color: rgb(0, 0, 255);">="test2.jpg"</span>
																																<span style="color: rgb(0, 0, 255);">/&gt;</span>
																																<span style="color: rgb(0, 0, 0);">
																																		<br />
																																</span>
																																<span style="color: rgb(0, 0, 255);">&lt;</span>
																																<span style="color: rgb(128, 0, 0);">a </span>
																																<span style="color: rgb(255, 0, 0);">href</span>
																																<span style="color: rgb(0, 0, 255);">="#"</span>
																																<span style="color: rgb(255, 0, 0);">id</span>
																																<span style="color: rgb(0, 0, 255);">="test"</span>
																																<span style="color: rgb(255, 0, 0);">onClick</span>
																																<span style="color: rgb(0, 0, 255);">="jq()"</span>
																																<span style="color: rgb(0, 0, 255);">&gt;</span>
																																<span style="color: rgb(0, 0, 0);">jQuery</span>
																																<span style="color: rgb(0, 0, 255);">&lt;/</span>
																																<span style="color: rgb(128, 0, 0);">a</span>
																																<span style="color: rgb(0, 0, 255);">&gt;</span>
																														</div>
																														<span style="font-size: 10pt;">jQuery代码及功能：</span>
																														<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);">
																																<span style="color: rgb(0, 0, 255);">function</span>
																																<span style="color: rgb(0, 0, 0);">jq(){<br />     alert($(</span>
																																<span style="color: rgb(0, 0, 0);">"</span>
																																<span style="color: rgb(0, 0, 0);">img</span>
																																<span style="color: rgb(0, 0, 0);">"</span>
																																<span style="color: rgb(0, 0, 0);">).length);<br />}</span>
																														</div>
																														<span style="font-size: 10pt;">运行：当点击id为test的元素时，弹出alert对话框显示2，表示找到两个匹配对象</span>
																												</font>
																										</span>
																								</font>
																						</span>
																				</font>
																		</span>
																</font>
														</span>
												</font>
										</span>
								</font>
						</span>
				</font>
		</span>
		<font size="2">
				<br />
		</font>
<img src ="http://www.cnitblog.com/wuxsoft/aggbug/30498.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxsoft/" target="_blank">wuxsoft</a> 2007-07-24 11:51 <a href="http://www.cnitblog.com/wuxsoft/archive/2007/07/24/30498.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>