<?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: Getting keycode values in Javascript</title> <atom:link href="http://www.selfcontained.us/2009/09/16/getting-keycode-values-in-javascript/feed/" rel="self" type="application/rss+xml" /><link>http://www.selfcontained.us/2009/09/16/getting-keycode-values-in-javascript/</link> <description>web-development</description> <lastBuildDate>Fri, 03 Feb 2012 05:18:27 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: baljeet</title><link>http://www.selfcontained.us/2009/09/16/getting-keycode-values-in-javascript/comment-page-1/#comment-47037</link> <dc:creator>baljeet</dc:creator> <pubDate>Fri, 16 Dec 2011 07:46:50 +0000</pubDate> <guid
isPermaLink="false">http://www.selfcontained.us/?p=168#comment-47037</guid> <description>Hi Brad
Nice post indeed.
I am new in javascript programming, I am looking for OOPs javascript help. Can you suggest me from where I can find the good stuff i.e. videos or live examples etc etc.. so that I can start my career in OOP javascript.
Thanks in advance.
Pl. mail me at baljitweb@gmail.com
regards
baljeet</description> <content:encoded><![CDATA[<p>Hi Brad</p><p>Nice post indeed.<br
/> I am new in javascript programming, I am looking for OOPs javascript help. Can you suggest me from where I can find the good stuff i.e. videos or live examples etc etc.. so that I can start my career in OOP javascript.</p><p>Thanks in advance.</p><p>Pl. mail me at <a
href="mailto:baljitweb@gmail.com">baljitweb@gmail.com</a></p><p>regards<br
/> baljeet</p> ]]></content:encoded> </item> <item><title>By: Evan Larsen</title><link>http://www.selfcontained.us/2009/09/16/getting-keycode-values-in-javascript/comment-page-1/#comment-45149</link> <dc:creator>Evan Larsen</dc:creator> <pubDate>Mon, 10 Oct 2011 17:47:31 +0000</pubDate> <guid
isPermaLink="false">http://www.selfcontained.us/?p=168#comment-45149</guid> <description>Thanks a bunch! This saved me a lot of time. I only changed one part the getKeyCode method:
&lt;code&gt;
getKeyCode: function (e) {
var keycode = e.keyCode &#124;&#124; e.which;
return keycode;
}
&lt;/code&gt;
other than that, THANKS!!!</description> <content:encoded><![CDATA[<p>Thanks a bunch! This saved me a lot of time. I only changed one part the getKeyCode method:<br
/><pre><code>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getKeyCode: function (e) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var keycode = e.keyCode || e.which;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return keycode;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</code></pre><br
/> other than that, THANKS!!!</p> ]]></content:encoded> </item> <item><title>By: Jose</title><link>http://www.selfcontained.us/2009/09/16/getting-keycode-values-in-javascript/comment-page-1/#comment-40422</link> <dc:creator>Jose</dc:creator> <pubDate>Mon, 28 Feb 2011 04:09:28 +0000</pubDate> <guid
isPermaLink="false">http://www.selfcontained.us/?p=168#comment-40422</guid> <description>modifiedByShift : {
191:&quot;/&quot;
}
Hi, I have a detail, the shift back 191 /
Greetings</description> <content:encoded><![CDATA[<p>modifiedByShift : {<br
/> 191:&#8221;/&#8221;<br
/> }</p><p>Hi, I have a detail, the shift back 191 /<br
/> Greetings</p> ]]></content:encoded> </item> <item><title>By: brad</title><link>http://www.selfcontained.us/2009/09/16/getting-keycode-values-in-javascript/comment-page-1/#comment-26384</link> <dc:creator>brad</dc:creator> <pubDate>Tue, 16 Mar 2010 21:18:39 +0000</pubDate> <guid
isPermaLink="false">http://www.selfcontained.us/?p=168#comment-26384</guid> <description>To be honest, I wasn&#039;t aware of that function.  A quick look shows it seems to be right for alpha-numeric characters, but doesn&#039;t handle some of the special characters, like return, shift, tab, backspace etc.  I know there is some oddness with various browsers reporting different values for charCode and keyCode based on what event you are listening to (keypress, keydown, keyup), and in the example I am using keyCode values, and I typically use the keyup event.  Definitely worth checking out if it can simplify the process some though, thanks for the heads up, let me know what you find as well.</description> <content:encoded><![CDATA[<p>To be honest, I wasn&#8217;t aware of that function.  A quick look shows it seems to be right for alpha-numeric characters, but doesn&#8217;t handle some of the special characters, like return, shift, tab, backspace etc.  I know there is some oddness with various browsers reporting different values for charCode and keyCode based on what event you are listening to (keypress, keydown, keyup), and in the example I am using keyCode values, and I typically use the keyup event.  Definitely worth checking out if it can simplify the process some though, thanks for the heads up, let me know what you find as well.</p> ]]></content:encoded> </item> <item><title>By: Kyle Hayes</title><link>http://www.selfcontained.us/2009/09/16/getting-keycode-values-in-javascript/comment-page-1/#comment-26383</link> <dc:creator>Kyle Hayes</dc:creator> <pubDate>Tue, 16 Mar 2010 20:40:37 +0000</pubDate> <guid
isPermaLink="false">http://www.selfcontained.us/?p=168#comment-26383</guid> <description>Out of curiosity, how come you didn&#039;t use String.fromCharCode()?</description> <content:encoded><![CDATA[<p>Out of curiosity, how come you didn&#8217;t use String.fromCharCode()?</p> ]]></content:encoded> </item> <item><title>By: User0815</title><link>http://www.selfcontained.us/2009/09/16/getting-keycode-values-in-javascript/comment-page-1/#comment-22411</link> <dc:creator>User0815</dc:creator> <pubDate>Wed, 21 Oct 2009 13:35:59 +0000</pubDate> <guid
isPermaLink="false">http://www.selfcontained.us/?p=168#comment-22411</guid> <description>nice code. thanks. btw: good google ranking!</description> <content:encoded><![CDATA[<p>nice code. thanks. btw: good google ranking!</p> ]]></content:encoded> </item> </channel> </rss>
