<?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: Using a magnetic card reader with jQuery</title>
	<atom:link href="http://garetjax.info/articles/2010/01/magnetic-card-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/</link>
	<description></description>
	<lastBuildDate>Tue, 17 Jan 2012 14:10:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jazzy</title>
		<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/comment-page-1/#comment-33</link>
		<dc:creator>Jazzy</dc:creator>
		<pubDate>Tue, 17 Jan 2012 14:10:00 +0000</pubDate>
		<guid isPermaLink="false">http:/?p=1#comment-33</guid>
		<description>&lt;p&gt;@nilesh u talking about my comment or overall page?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@nilesh u talking about my comment or overall page?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Nilesh</title>
		<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/comment-page-1/#comment-32</link>
		<dc:creator>Nilesh</dc:creator>
		<pubDate>Tue, 17 Jan 2012 13:29:00 +0000</pubDate>
		<guid isPermaLink="false">http:/?p=1#comment-32</guid>
		<description>&lt;p&gt;Works flawless.....&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Works flawless&#8230;..</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jazzy</title>
		<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/comment-page-1/#comment-31</link>
		<dc:creator>Jazzy</dc:creator>
		<pubDate>Tue, 10 Jan 2012 16:08:00 +0000</pubDate>
		<guid isPermaLink="false">http:/?p=1#comment-31</guid>
		<description>&lt;p&gt;Any cheap card reader you guys can recommend for this kind of project? I found one on ebay, not sure will it work with this :&lt;/p&gt;

&lt;p&gt;http://www.ebay.com/itm/Honeywell-IDRA-335133B-DL-DELL-ONLY-MSR-USB-HID-3TRK-magnetic-strip-card-reader-/230687770687?pt=LH_DefaultDomain_0&amp;hash=item35b610083f#shId&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Any cheap card reader you guys can recommend for this kind of project? I found one on ebay, not sure will it work with this :</p>

<p><a href="http://www.ebay.com/itm/Honeywell-IDRA-335133B-DL-DELL-ONLY-MSR-USB-HID-3TRK-magnetic-strip-card-reader-/230687770687?pt=LH_DefaultDomain_0&#038;hash=item35b610083f#shId" rel="nofollow">http://www.ebay.com/itm/Honeywell-IDRA-335133B-DL-DELL-ONLY-MSR-USB-HID-3TRK-magnetic-strip-card-reader-/230687770687?pt=LH_DefaultDomain_0&#038;hash=item35b610083f#shId</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Larsen</title>
		<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/comment-page-1/#comment-30</link>
		<dc:creator>Evan Larsen</dc:creator>
		<pubDate>Wed, 30 Nov 2011 16:34:00 +0000</pubDate>
		<guid isPermaLink="false">http:/?p=1#comment-30</guid>
		<description>&lt;p&gt;I didnt need to do all that fancyness with the timing of when keys were pressed. I just had to record the card reader and then submit the form once done. I stuffed the cc data into a hidden field.. heres my code (I&#039;m using asp.net and also jquery):&lt;/p&gt;

&lt;p&gt;            //this attaches the keyup event to the html element to capture all keypress&#039; and puts them in the hidden field        $(function () {            var btnSubmit = document.getElementById(&#039;&#039;);            btnSubmit.focus();            $(&#039;html&#039;).keypress(function (e) {                var keyPressed = e.which;                var hiddenField = document.getElementById(&#039;&#039;);                if (keyPressed != 13) {                    hiddenField.value += String.fromCharCode(keyPressed);                }             });        });    &lt;/p&gt;

&lt;p&gt;the (keypressed != 13) makes sure I dont capture the enter key after its done reading.&lt;/p&gt;

&lt;p&gt;I got the idea to do it like this after looking through your code.. Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I didnt need to do all that fancyness with the timing of when keys were pressed. I just had to record the card reader and then submit the form once done. I stuffed the cc data into a hidden field.. heres my code (I&#8217;m using asp.net and also jquery):</p>

<p>            //this attaches the keyup event to the html element to capture all keypress&#8217; and puts them in the hidden field        $(function () {            var btnSubmit = document.getElementById(&#8221;);            btnSubmit.focus();            $(&#8216;html&#8217;).keypress(function (e) {                var keyPressed = e.which;                var hiddenField = document.getElementById(&#8221;);                if (keyPressed != 13) {                    hiddenField.value += String.fromCharCode(keyPressed);                }             });        });    </p>

<p>the (keypressed != 13) makes sure I dont capture the enter key after its done reading.</p>

<p>I got the idea to do it like this after looking through your code.. Thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/comment-page-1/#comment-29</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 28 Nov 2011 18:38:00 +0000</pubDate>
		<guid isPermaLink="false">http:/?p=1#comment-29</guid>
		<description>&lt;p&gt;Rick, let us know if you find a IE work around.&lt;/p&gt;

&lt;p&gt;On a side note if your using an RFID reader and all it posts is the number and then enter, so no track or end senitel is the start and end bits still required?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Rick, let us know if you find a IE work around.</p>

<p>On a side note if your using an RFID reader and all it posts is the number and then enter, so no track or end senitel is the start and end bits still required?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/comment-page-1/#comment-28</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Fri, 11 Nov 2011 20:36:00 +0000</pubDate>
		<guid isPermaLink="false">http:/?p=1#comment-28</guid>
		<description>&lt;p&gt;Update: I still am having issues, but at least I am moving a little closer to getting this to work in all browsers.  For anyone else having issues, If you change the jQuery read.observe object to document, instead of window, IE will at least read in all the characters.  I am having an issue however with the call back.  After the last information is read, it is not firing the callback function reader.cardRead in IE 8, and IE9 in compatibility mode.  Any infomation you can provide would be greatly appreciated.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Update: I still am having issues, but at least I am moving a little closer to getting this to work in all browsers.  For anyone else having issues, If you change the jQuery read.observe object to document, instead of window, IE will at least read in all the characters.  I am having an issue however with the call back.  After the last information is read, it is not firing the callback function reader.cardRead in IE 8, and IE9 in compatibility mode.  Any infomation you can provide would be greatly appreciated.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/comment-page-1/#comment-24</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Wed, 02 Nov 2011 11:41:34 +0000</pubDate>
		<guid isPermaLink="false">http:/?p=1#comment-24</guid>
		<description>&lt;p&gt;Correction...  The code does work in IE9 as long as compatibility mode is off.  Does not work at all in IE8.  Any help is appreciated.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Correction&#8230;  The code does work in IE9 as long as compatibility mode is off.  Does not work at all in IE8.  Any help is appreciated.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/comment-page-1/#comment-25</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Wed, 02 Nov 2011 11:39:28 +0000</pubDate>
		<guid isPermaLink="false">http:/?p=1#comment-25</guid>
		<description>&lt;p&gt;Anyone having any issues with IE?  I have this working great on all browsers (Chrome, Firefox, Safari, and Opera) , but sadly, it does not work in IE8 or IE9.  I also need this to work in compatibility mode.  When switched into compatibility mode, the javascript errors out at not understanding what CardReader even is.  It does not see it as an object class.  Any help would be appreciated.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Anyone having any issues with IE?  I have this working great on all browsers (Chrome, Firefox, Safari, and Opera) , but sadly, it does not work in IE8 or IE9.  I also need this to work in compatibility mode.  When switched into compatibility mode, the javascript errors out at not understanding what CardReader even is.  It does not see it as an object class.  Any help would be appreciated.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Danieliser</title>
		<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/comment-page-1/#comment-23</link>
		<dc:creator>Danieliser</dc:creator>
		<pubDate>Mon, 08 Aug 2011 12:50:59 +0000</pubDate>
		<guid isPermaLink="false">http:/?p=1#comment-23</guid>
		<description>&lt;p&gt;I am trying to get this to work with jquery 1.6.2.. My card reader works fine on your timing test page as well as in notepad or in anything else for that matter.. I got your script set up and a form field to set the value to.. i know your script is set up as when i swipe on any normal page it tries to find the data read from the card using the ctrl+f search box.. but on my page i set up nothing happens when i swipe.. any ideas? incompatible with 1.6.2?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am trying to get this to work with jquery 1.6.2.. My card reader works fine on your timing test page as well as in notepad or in anything else for that matter.. I got your script set up and a form field to set the value to.. i know your script is set up as when i swipe on any normal page it tries to find the data read from the card using the ctrl+f search box.. but on my page i set up nothing happens when i swipe.. any ideas? incompatible with 1.6.2?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Stoppani</title>
		<link>http://garetjax.info/articles/2010/01/magnetic-card-jquery/comment-page-1/#comment-22</link>
		<dc:creator>Jonathan Stoppani</dc:creator>
		<pubDate>Thu, 26 May 2011 21:26:06 +0000</pubDate>
		<guid isPermaLink="false">http:/?p=1#comment-22</guid>
		<description>&lt;p&gt;If your Card Reader is seen as an HID, then yes. Note that it may need some adaptation, but the working principle will stay the same.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If your Card Reader is seen as an HID, then yes. Note that it may need some adaptation, but the working principle will stay the same.</p>]]></content:encoded>
	</item>
</channel>
</rss>

