<?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://js8.in/467.html/feed" rel="self" type="application/rss+xml" />
	<link>http://js8.in/467.html</link>
	<description>专注前端开发,分享Javascript/CSS/PHP等Web前端开发技巧</description>
	<lastBuildDate>Tue, 07 Feb 2012 13:03:52 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：Rocky</title>
		<link>http://js8.in/467.html/comment-page-1#comment-1348</link>
		<dc:creator>Rocky</dc:creator>
		<pubDate>Sun, 20 Feb 2011 14:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.js8.in/?p=467#comment-1348</guid>
		<description>&lt;a href=&quot;#comment-246&quot; rel=&quot;nofollow&quot;&gt;@断桥残雪 &lt;/a&gt;
这个我机器上没有小键盘，没法测试，但是我想应该是可以的，要注意把这个46（virtual input）放到倒数第二个参数上去。</description>
		<content:encoded><![CDATA[<p><a target="_blank" href="#comment-246" rel="nofollow">@断桥残雪 </a><br />
这个我机器上没有小键盘，没法测试，但是我想应该是可以的，要注意把这个46（virtual input）放到倒数第二个参数上去。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Rocky</title>
		<link>http://js8.in/467.html/comment-page-1#comment-1347</link>
		<dc:creator>Rocky</dc:creator>
		<pubDate>Sun, 20 Feb 2011 14:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.js8.in/?p=467#comment-1347</guid>
		<description>只触发一个输入事件就可以了，ascii code 46 is DEL：
var evt = document.createEvent(&quot;KeyboardEvent&quot;);
evt.initKeyEvent(&quot;keypress&quot;, true, true, null, false, false, false, false, 46, 0);
elem.dispatchEvent(evt);</description>
		<content:encoded><![CDATA[<p>只触发一个输入事件就可以了，ascii code 46 is DEL：<br />
var evt = document.createEvent(&#8221;KeyboardEvent&#8221;);<br />
evt.initKeyEvent(&#8221;keypress&#8221;, true, true, null, false, false, false, false, 46, 0);<br />
elem.dispatchEvent(evt);</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：LOO2K</title>
		<link>http://js8.in/467.html/comment-page-1#comment-659</link>
		<dc:creator>LOO2K</dc:creator>
		<pubDate>Sun, 25 Jul 2010 04:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.js8.in/?p=467#comment-659</guid>
		<description>可惜了 chrome 不能支持。</description>
		<content:encoded><![CDATA[<p>可惜了 <a title="chrome" href="http://js8.in/tag/chrome">chrome</a> 不能支持。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：【从零开始】</title>
		<link>http://js8.in/467.html/comment-page-1#comment-529</link>
		<dc:creator>【从零开始】</dc:creator>
		<pubDate>Sun, 30 May 2010 12:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.js8.in/?p=467#comment-529</guid>
		<description>如何用 focus()  这个方法来解决抢光标的问题，</description>
		<content:encoded><![CDATA[<p>如何用 focus()  这个方法来解决抢光标的问题，</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：【从零开始】</title>
		<link>http://js8.in/467.html/comment-page-1#comment-528</link>
		<dc:creator>【从零开始】</dc:creator>
		<pubDate>Sun, 30 May 2010 12:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.js8.in/?p=467#comment-528</guid>
		<description>如何解决抢光标的问题，谁能给个解决方案啊。。。，</description>
		<content:encoded><![CDATA[<p>如何解决抢光标的问题，谁能给个解决方案啊。。。，</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：断桥残雪</title>
		<link>http://js8.in/467.html/comment-page-1#comment-246</link>
		<dc:creator>断桥残雪</dc:creator>
		<pubDate>Thu, 04 Feb 2010 05:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.js8.in/?p=467#comment-246</guid>
		<description>本来我也是这么想的，可是好像小键盘区不能模拟</description>
		<content:encoded><![CDATA[<p>本来我也是这么想的，可是好像小键盘区不能模拟</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：yellow</title>
		<link>http://js8.in/467.html/comment-page-1#comment-244</link>
		<dc:creator>yellow</dc:creator>
		<pubDate>Thu, 04 Feb 2010 03:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.js8.in/?p=467#comment-244</guid>
		<description>顶一个
问下为什么不能直接模拟键盘的end按钮事件, 使光标到输入框末尾呢？</description>
		<content:encoded><![CDATA[<p>顶一个<br />
问下为什么不能直接模拟键盘的end按钮事件, 使光标到输入框末尾呢？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：cc</title>
		<link>http://js8.in/467.html/comment-page-1#comment-234</link>
		<dc:creator>cc</dc:creator>
		<pubDate>Mon, 01 Feb 2010 05:54:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.js8.in/?p=467#comment-234</guid>
		<description>这么牛的文章竟然没人顶？
顶！</description>
		<content:encoded><![CDATA[<p>这么牛的文章竟然没人顶？<br />
顶！</p>
]]></content:encoded>
	</item>
</channel>
</rss>

