<?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>Comments on: Keystrokes for jQuery</title>
	<atom:link href="http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/</link>
	<description>The dabbling of various web technologies by Jordan Boesch</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:01:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jordan Boesch</title>
		<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/#comment-1582</link>
		<dc:creator>Jordan Boesch</dc:creator>
		<pubDate>Thu, 29 Dec 2011 18:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://boedesign.com/?p=493#comment-1582</guid>
		<description>@kumar: You can do 
&lt;code&gt;
var home = [&#039;ctrl+h&#039;];
$(document).bind(&#039;keystrokes&#039;, {
    keys: home
}, function(){});
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@kumar: You can do<br />
<code><br />
var home = ['ctrl+h'];<br />
$(document).bind('keystrokes', {<br />
    keys: home<br />
}, function(){});<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumar</title>
		<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/#comment-1581</link>
		<dc:creator>kumar</dc:creator>
		<pubDate>Thu, 22 Dec 2011 06:21:11 +0000</pubDate>
		<guid isPermaLink="false">http://boedesign.com/?p=493#comment-1581</guid>
		<description>&lt;code&gt;
excellent script.. ! I&#039;ve one question . is there any way to pass the keys dynamically from properties file 
ex: i&#039;ve properties file like 
msg_homeshortcut= ctrl+home
i need to call the above property dynamically and should pass to the keys aray

ex: var home=msg_homeshortcut;

$(document).bind(&#039;keystrokes&#039;, {
	
	keys: [home]
	
}, function(event){
}...

Thanks for the responses ..
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><code><br />
excellent script.. ! I've one question . is there any way to pass the keys dynamically from properties file<br />
ex: i've properties file like<br />
msg_homeshortcut= ctrl+home<br />
i need to call the above property dynamically and should pass to the keys aray</p>
<p>ex: var home=msg_homeshortcut;</p>
<p>$(document).bind('keystrokes', {</p>
<p>	keys: [home]</p>
<p>}, function(event){<br />
}...</p>
<p>Thanks for the responses ..<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex N</title>
		<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/#comment-1574</link>
		<dc:creator>Alex N</dc:creator>
		<pubDate>Mon, 28 Nov 2011 19:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://boedesign.com/?p=493#comment-1574</guid>
		<description>Seems to be a bug with modifiers after the first keypress. If you hold any key and press a second one twice, it does not modify the second.

1) E.g. hold ctrl and press c (keep ctrl down)
ctrl-c
2) Press c again (keeping ctrl down)
c</description>
		<content:encoded><![CDATA[<p>Seems to be a bug with modifiers after the first keypress. If you hold any key and press a second one twice, it does not modify the second.</p>
<p>1) E.g. hold ctrl and press c (keep ctrl down)<br />
ctrl-c<br />
2) Press c again (keeping ctrl down)<br />
c</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spacemoses</title>
		<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/#comment-1396</link>
		<dc:creator>Spacemoses</dc:creator>
		<pubDate>Sun, 15 May 2011 19:32:05 +0000</pubDate>
		<guid isPermaLink="false">http://boedesign.com/?p=493#comment-1396</guid>
		<description>This rocks and got me exactly what I needed.  Thanks!</description>
		<content:encoded><![CDATA[<p>This rocks and got me exactly what I needed.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/#comment-1374</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 28 Feb 2011 23:36:15 +0000</pubDate>
		<guid isPermaLink="false">http://boedesign.com/?p=493#comment-1374</guid>
		<description>@jordan

Just saw your response.  The second way of doing it works great!  I&#039;m a happy camper.  (if there ever was such a thing...)</description>
		<content:encoded><![CDATA[<p>@jordan</p>
<p>Just saw your response.  The second way of doing it works great!  I&#8217;m a happy camper.  (if there ever was such a thing&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/#comment-1373</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 28 Feb 2011 23:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://boedesign.com/?p=493#comment-1373</guid>
		<description>Never mind.  It works if I don&#039;t hold down the first key but tap it and then the next one.  Wish you could hold down all keys except the last one...</description>
		<content:encoded><![CDATA[<p>Never mind.  It works if I don&#8217;t hold down the first key but tap it and then the next one.  Wish you could hold down all keys except the last one&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan Boesch</title>
		<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/#comment-1372</link>
		<dc:creator>Jordan Boesch</dc:creator>
		<pubDate>Mon, 28 Feb 2011 23:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://boedesign.com/?p=493#comment-1372</guid>
		<description>@Michael: Nope, it should be &quot;i&quot; follow by &quot;p&quot;. If you want to hold down &quot;i&quot; and press &quot;p&quot;, you would do [&#039;i+p&#039;]</description>
		<content:encoded><![CDATA[<p>@Michael: Nope, it should be &#8220;i&#8221; follow by &#8220;p&#8221;. If you want to hold down &#8220;i&#8221; and press &#8220;p&#8221;, you would do ['i+p']</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/#comment-1371</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 28 Feb 2011 23:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://boedesign.com/?p=493#comment-1371</guid>
		<description>Looking to use your plugin but not making any headway.  Doesn&#039;t seem to work with your first example and jQuery 1.5.

&lt;code&gt;
$(document).bind(&#039;keystrokes&#039;, {
	// The key pattern you set your element to listen for
	keys: [&#039;i&#039;, &#039;p&#039;]				
}, function(event){
	// Throw a notification to the user what keys they successfully typed
	alert(&#039;You typed : &lt;em&gt;&#039; + event.keystrokes.stack_item.keys.join(&#039;, &#039;) + &#039;&lt;/em&gt;&#039;);
 
});
&lt;/code&gt;

I&#039;m correct in believing that the alert should appear while holding down &#039;i&#039; and pressing &#039;p&#039;, right?</description>
		<content:encoded><![CDATA[<p>Looking to use your plugin but not making any headway.  Doesn&#8217;t seem to work with your first example and jQuery 1.5.</p>
<p><code><br />
$(document).bind('keystrokes', {<br />
	// The key pattern you set your element to listen for<br />
	keys: ['i', 'p']<br />
}, function(event){<br />
	// Throw a notification to the user what keys they successfully typed<br />
	alert('You typed : <em>' + event.keystrokes.stack_item.keys.join(', ') + '</em>');</p>
<p>});<br />
</code></p>
<p>I&#8217;m correct in believing that the alert should appear while holding down &#8216;i&#8217; and pressing &#8216;p&#8217;, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan Boesch</title>
		<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/#comment-1366</link>
		<dc:creator>Jordan Boesch</dc:creator>
		<pubDate>Mon, 07 Feb 2011 03:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://boedesign.com/?p=493#comment-1366</guid>
		<description>@Joey: No, that is not possible.</description>
		<content:encoded><![CDATA[<p>@Joey: No, that is not possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey</title>
		<link>http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/#comment-1365</link>
		<dc:creator>Joey</dc:creator>
		<pubDate>Mon, 07 Feb 2011 02:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://boedesign.com/?p=493#comment-1365</guid>
		<description>Great script! One questions: Is there a way to set something where if  any key is pressed other than the one you specify, something happens?

For example, if user presses &#039;a&#039;, one thing happens.  If user presses any key that isn&#039;t &#039;a&#039;, something else happens.  Is this possible?</description>
		<content:encoded><![CDATA[<p>Great script! One questions: Is there a way to set something where if  any key is pressed other than the one you specify, something happens?</p>
<p>For example, if user presses &#8216;a&#8217;, one thing happens.  If user presses any key that isn&#8217;t &#8216;a&#8217;, something else happens.  Is this possible?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

