<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>评论：JavaScript 获取事件对象的一个注意点</title>
	<atom:link href="http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/</link>
	<description>落草为根—专注前端技术&#38;&#38;关注用户体验</description>
	<lastBuildDate>Thu, 09 Sep 2010 02:42:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>由：See</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-6824</link>
		<dc:creator>See</dc:creator>
		<pubDate>Fri, 19 Mar 2010 15:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-6824</guid>
		<description>问下
this.getEvent 这个this有必要么？</description>
		<content:encoded><![CDATA[<p>问下<br />
this.getEvent 这个this有必要么？</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：dongyuwei</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-5878</link>
		<dc:creator>dongyuwei</dc:creator>
		<pubDate>Thu, 07 Jan 2010 03:17:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-5878</guid>
		<description>按钮 传递this就完全ok了。</description>
		<content:encoded><![CDATA[<p>按钮 传递this就完全ok了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：wuyi's blog</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-4614</link>
		<dc:creator>wuyi's blog</dc:creator>
		<pubDate>Fri, 25 Sep 2009 06:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-4614</guid>
		<description>写的很全面，建议从用户角度着想，不要太长。</description>
		<content:encoded><![CDATA[<p>写的很全面，建议从用户角度着想，不要太长。</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：骨头</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3916</link>
		<dc:creator>骨头</dc:creator>
		<pubDate>Tue, 28 Jul 2009 11:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3916</guid>
		<description>不懂JAVA</description>
		<content:encoded><![CDATA[<p>不懂JAVA</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Kelvin</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3913</link>
		<dc:creator>Kelvin</dc:creator>
		<pubDate>Tue, 28 Jul 2009 01:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3913</guid>
		<description>受教！3Q！</description>
		<content:encoded><![CDATA[<p>受教！3Q！</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：访客</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3908</link>
		<dc:creator>访客</dc:creator>
		<pubDate>Mon, 27 Jul 2009 13:05:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3908</guid>
		<description>非常感谢告知插件名称！！！</description>
		<content:encoded><![CDATA[<p>非常感谢告知插件名称！！！</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：cc</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3907</link>
		<dc:creator>cc</dc:creator>
		<pubDate>Mon, 27 Jul 2009 07:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3907</guid>
		<description>那这个事w3c的标准吗</description>
		<content:encoded><![CDATA[<p>那这个事w3c的标准吗</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：怿飞</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3906</link>
		<dc:creator>怿飞</dc:creator>
		<pubDate>Mon, 27 Jul 2009 07:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3906</guid>
		<description>@访客 用的是google code prettify，详细见：http://code.google.com/p/google-code-prettify/</description>
		<content:encoded><![CDATA[<p>@访客 用的是google code prettify，详细见：http://code.google.com/p/google-code-prettify/</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：怿飞</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3905</link>
		<dc:creator>怿飞</dc:creator>
		<pubDate>Mon, 27 Jul 2009 01:36:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3905</guid>
		<description>@cc 因为Firefox下默认给出的就是event,就如这个函数：

function onclick(event) {
    foo();
}</description>
		<content:encoded><![CDATA[<p>@cc 因为Firefox下默认给出的就是event,就如这个函数：</p>
<p>function onclick(event) {<br />
    foo();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Ronecy</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3902</link>
		<dc:creator>Ronecy</dc:creator>
		<pubDate>Sun, 26 Jul 2009 19:15:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3902</guid>
		<description>很遇到这种情况。

了解一下。</description>
		<content:encoded><![CDATA[<p>很遇到这种情况。</p>
<p>了解一下。</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：netwjx</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3898</link>
		<dc:creator>netwjx</dc:creator>
		<pubDate>Sun, 26 Jul 2009 10:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3898</guid>
		<description>onclick=&#039;alert(event)&#039;
看看喽,或者是jquery
$(&#039;a&#039;).click(function(){alert(arguments[0])});</description>
		<content:encoded><![CDATA[<p>onclick=&#8217;alert(event)&#8217;<br />
看看喽,或者是jquery<br />
$(&#8216;a&#8217;).click(function(){alert(arguments[0])});</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：天堂左我往右</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3896</link>
		<dc:creator>天堂左我往右</dc:creator>
		<pubDate>Sun, 26 Jul 2009 07:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3896</guid>
		<description>终于又见怿飞兄的新文章了...顶</description>
		<content:encoded><![CDATA[<p>终于又见怿飞兄的新文章了&#8230;顶</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：访客</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3895</link>
		<dc:creator>访客</dc:creator>
		<pubDate>Sun, 26 Jul 2009 07:03:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3895</guid>
		<description>博主，请问你用的是哪个代码高亮插件？告诉下名字就好了，我自己搜索去，谢谢！！！</description>
		<content:encoded><![CDATA[<p>博主，请问你用的是哪个代码高亮插件？告诉下名字就好了，我自己搜索去，谢谢！！！</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：cc</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3883</link>
		<dc:creator>cc</dc:creator>
		<pubDate>Sat, 25 Jul 2009 00:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3883</guid>
		<description>我也想知道为什么
onclick=&quot;foo(event)&quot;
这里是event</description>
		<content:encoded><![CDATA[<p>我也想知道为什么<br />
onclick=&#8221;foo(event)&#8221;<br />
这里是event</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：vapour</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3882</link>
		<dc:creator>vapour</dc:creator>
		<pubDate>Sat, 25 Jul 2009 00:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3882</guid>
		<description>终于又见到怿飞的文章了，期待下一篇</description>
		<content:encoded><![CDATA[<p>终于又见到怿飞的文章了，期待下一篇</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：怿飞</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3879</link>
		<dc:creator>怿飞</dc:creator>
		<pubDate>Fri, 24 Jul 2009 10:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3879</guid>
		<description>@Shawphy 是写反了，sorry</description>
		<content:encoded><![CDATA[<p>@Shawphy 是写反了，sorry</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Shawphy</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3878</link>
		<dc:creator>Shawphy</dc:creator>
		<pubDate>Fri, 24 Jul 2009 10:06:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3878</guid>
		<description>&lt;blockquote&gt;在 Firefox 中调用其实是这样的，先调用执行的是：
然后调用执行的是：&lt;/blockquote&gt;

这两段代码似乎放反了，逻辑上不通。</description>
		<content:encoded><![CDATA[<blockquote><p>在 Firefox 中调用其实是这样的，先调用执行的是：<br />
然后调用执行的是：</p></blockquote>
<p>这两段代码似乎放反了，逻辑上不通。</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：cssrain</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3876</link>
		<dc:creator>cssrain</dc:creator>
		<pubDate>Fri, 24 Jul 2009 05:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3876</guid>
		<description>一般都是直接传递event，这种使用第一个参数的方法没用过。
学习了。</description>
		<content:encoded><![CDATA[<p>一般都是直接传递event，这种使用第一个参数的方法没用过。<br />
学习了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：stefyang</title>
		<link>http://www.planabc.net/2009/07/24/tips_for_getting_event_in_javascript/comment-page-1/#comment-3874</link>
		<dc:creator>stefyang</dc:creator>
		<pubDate>Fri, 24 Jul 2009 03:24:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=258#comment-3874</guid>
		<description>为什么传给onclick的参数是event，而不是ev或者其他名字的事件对象呢
原来一直认为onclick=&quot;foo();&quot;;是如下的两步
element.onclick= new Function(&#039;foo();&#039;);
element.addlistener(&#039;click&#039;,this.onclick,this)；
不知道理解的是否正确</description>
		<content:encoded><![CDATA[<p>为什么传给onclick的参数是event，而不是ev或者其他名字的事件对象呢<br />
原来一直认为onclick=&#8221;foo();&#8221;;是如下的两步<br />
element.onclick= new Function(&#8216;foo();&#8217;);<br />
element.addlistener(&#8216;click&#8217;,this.onclick,this)；<br />
不知道理解的是否正确</p>
]]></content:encoded>
	</item>
</channel>
</rss>
