<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CNlaoKe&#039;s Blog &#187; Javascript</title>
	<atom:link href="http://blog.cnlaoKe.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cnlaoKe.com</link>
	<description>Rome was not built in a day!</description>
	<lastBuildDate>Wed, 25 Aug 2010 09:45:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>JS 返回上一页</title>
		<link>http://blog.cnlaoKe.com/2010/02/24/304/</link>
		<comments>http://blog.cnlaoKe.com/2010/02/24/304/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 14:31:14 +0000</pubDate>
		<dc:creator>CNlaoKe</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.cnlaoKe.com/2010/02/24/304/</guid>
		<description><![CDATA[1. history.go(-1), 返回两个页面: history.go(-2);
2. history.back().
3. window.history.forward()返回下一页
4. window.history.go(返回第几页,也可以使用访问过的URL)
例:
&#60;a href=&#8221;javascript:history.go(-1);&#8221;&#62;向上一页&#60;/a&#62;
response.Write(&#8221;&#60;script language=javascript&#62;&#8221;)
response.Write(&#8221;if(!confirm(&#8217;完成任务?&#8217;)){history.back();}&#8221;)
response.Write(&#8221;&#60;/script&#62;&#8221;)
response.Write(&#8221;&#60;script language=javascript&#62;history.go(-1);&#60;/script&#62;&#8221;)
&#60;a href=&#8221;javascript:history.go(-1);&#8221;&#62;向上一页&#60;/a&#62;
页面跳转:onclick=&#8221;window.location.href=&#8217;list.aspx&#8217;&#8221;
P.S.
小技巧(JS引用JS):
&#60;script type=text/javascript&#62;
&#60;!&#8211;
if (typeof SWFObject == &#8220;undefined&#8221;) {
document.write(&#8217;&#60;scr&#8217; + &#8216;ipt type=&#8221;text/javascript&#8221; src=&#8221;/scripts/swfobject-1.5.js&#8221;&#62;&#60;/scr&#8217; + &#8216;ipt&#62;&#8217;);}
//&#8211;&#62;
&#60;/script&#62;
]]></description>
		<wfw:commentRss>http://blog.cnlaoKe.com/2010/02/24/304/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jquery日历控件合集</title>
		<link>http://blog.cnlaoKe.com/2010/02/21/300/</link>
		<comments>http://blog.cnlaoKe.com/2010/02/21/300/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 09:24:24 +0000</pubDate>
		<dc:creator>CNlaoKe</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.cnlaoKe.com/2010/02/21/300/</guid>
		<description><![CDATA[Jquery日历控件合集
]]></description>
		<wfw:commentRss>http://blog.cnlaoKe.com/2010/02/21/300/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JS倒计时代码</title>
		<link>http://blog.cnlaoKe.com/2010/01/13/285/</link>
		<comments>http://blog.cnlaoKe.com/2010/01/13/285/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 10:06:47 +0000</pubDate>
		<dc:creator>CNlaoKe</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.cnlaoKe.com/2010/01/13/285/</guid>
		<description><![CDATA[

var enabled = 0; today = new Date();
var day; var date;
var timedate= new Date("February 14,2010");
var now = new Date();
var date = timedate.getTime() - now.getTime();
var time = Math.floor(date / (1000 * 60 * 60 * 24));
if (time >= 0) ;
document.write("离2010年春节还有"+time +"天");

]]></description>
		<wfw:commentRss>http://blog.cnlaoKe.com/2010/01/13/285/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>模拟点击</title>
		<link>http://blog.cnlaoKe.com/2009/08/03/115/</link>
		<comments>http://blog.cnlaoKe.com/2009/08/03/115/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 10:14:57 +0000</pubDate>
		<dc:creator>CNlaoKe</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.cnlaoKe.com/2009/08/03/115/</guid>
		<description><![CDATA[点击查看
]]></description>
		<wfw:commentRss>http://blog.cnlaoKe.com/2009/08/03/115/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
