<?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: Shopify Tutorial: Making Sure a User Agrees to the Terms &amp; Conditions Using jQuery</title>
	<atom:link href="http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/</link>
	<description>Tetsuro&#039;s Blog</description>
	<lastBuildDate>Wed, 19 May 2010 20:48:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: JT</title>
		<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/comment-page-1/#comment-471</link>
		<dc:creator>JT</dc:creator>
		<pubDate>Wed, 19 May 2010 20:48:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tetsutakara.com/?p=593#comment-471</guid>
		<description>Hi Tetsuro,

Many thanks for the tutorial. It is working brilliantly with most browsers on our shopify site - except with Opera which happily lets you checkout whether you check the box or not. (I&#039;m currently testing with Opera 9.2). Anything I can add to the script to get Opera to work? (I tried both scripts and both fail with Opera).

Many thanks</description>
		<content:encoded><![CDATA[<p>Hi Tetsuro,</p>
<p>Many thanks for the tutorial. It is working brilliantly with most browsers on our shopify site &#8211; except with Opera which happily lets you checkout whether you check the box or not. (I&#8217;m currently testing with Opera 9.2). Anything I can add to the script to get Opera to work? (I tried both scripts and both fail with Opera).</p>
<p>Many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tetsuro</title>
		<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/comment-page-1/#comment-469</link>
		<dc:creator>Tetsuro</dc:creator>
		<pubDate>Wed, 12 May 2010 20:46:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tetsutakara.com/?p=593#comment-469</guid>
		<description>Brent: Thanks a bunch for your help and input. Do you think it&#039;s a bad thing if pressing &#039;enter&#039; calls the function as well? Personally I think it&#039;s okay to leave it as is because some people may choose to tab into the submit button and push enter.

Mette: Sorry I couldn&#039;t get back to you sooner, but good to know you got your logo working. It seems like the cart page is working as well. Please let me know if you need any help.

CJ: Strange, it shouldn&#039;t be refreshing anything. Can you post the URL to your store? Thanks.</description>
		<content:encoded><![CDATA[<p>Brent: Thanks a bunch for your help and input. Do you think it&#8217;s a bad thing if pressing &#8216;enter&#8217; calls the function as well? Personally I think it&#8217;s okay to leave it as is because some people may choose to tab into the submit button and push enter.</p>
<p>Mette: Sorry I couldn&#8217;t get back to you sooner, but good to know you got your logo working. It seems like the cart page is working as well. Please let me know if you need any help.</p>
<p>CJ: Strange, it shouldn&#8217;t be refreshing anything. Can you post the URL to your store? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CJ</title>
		<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/comment-page-1/#comment-464</link>
		<dc:creator>CJ</dc:creator>
		<pubDate>Mon, 19 Apr 2010 17:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tetsutakara.com/?p=593#comment-464</guid>
		<description>I have followed the instructions, but I am still having an issue. When you click on the go to checkout button, it just refreshes the page, no pop-up or anything. It doesn&#039;t matter whether the boxed is check or not.What should I look for in solving this issue.

Thanks
CJ</description>
		<content:encoded><![CDATA[<p>I have followed the instructions, but I am still having an issue. When you click on the go to checkout button, it just refreshes the page, no pop-up or anything. It doesn&#8217;t matter whether the boxed is check or not.What should I look for in solving this issue.</p>
<p>Thanks<br />
CJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mette Lykke</title>
		<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/comment-page-1/#comment-463</link>
		<dc:creator>Mette Lykke</dc:creator>
		<pubDate>Wed, 14 Apr 2010 20:31:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tetsutakara.com/?p=593#comment-463</guid>
		<description>Btw, I solved the logo thing.</description>
		<content:encoded><![CDATA[<p>Btw, I solved the logo thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mette Lykke</title>
		<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/comment-page-1/#comment-462</link>
		<dc:creator>Mette Lykke</dc:creator>
		<pubDate>Wed, 14 Apr 2010 20:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tetsutakara.com/?p=593#comment-462</guid>
		<description>Thanks for a great tutorial!

I do have a problem though. The checkbox is there but not checking it does not cause a pop up. I followed the steps and read the advice above - any clues for me?

I&#039;m completely new at html and would appreciate any help!

My store is http://shop.endomondo.com/

Thanks!


Mette</description>
		<content:encoded><![CDATA[<p>Thanks for a great tutorial!</p>
<p>I do have a problem though. The checkbox is there but not checking it does not cause a pop up. I followed the steps and read the advice above &#8211; any clues for me?</p>
<p>I&#8217;m completely new at html and would appreciate any help!</p>
<p>My store is <a href="http://shop.endomondo.com/" rel="nofollow">http://shop.endomondo.com/</a></p>
<p>Thanks!</p>
<p>Mette</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mette Lykke</title>
		<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/comment-page-1/#comment-461</link>
		<dc:creator>Mette Lykke</dc:creator>
		<pubDate>Tue, 13 Apr 2010 17:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tetsutakara.com/?p=593#comment-461</guid>
		<description>Great tutorial!

Do you by any chance also have one on how to insert a logo to the Minimify theme? 

That would be really helpful too.


Mette</description>
		<content:encoded><![CDATA[<p>Great tutorial!</p>
<p>Do you by any chance also have one on how to insert a logo to the Minimify theme? </p>
<p>That would be really helpful too.</p>
<p>Mette</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/comment-page-1/#comment-460</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Wed, 31 Mar 2010 17:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tetsutakara.com/?p=593#comment-460</guid>
		<description>Cool Tetsuro.  A few comments:

Grabbing the submit event would make the func fire on BOTH the click AND &#039;enter&#039; key press.   

example: jQuery(&quot;#checkout&quot;).submit(function(){

Also, Kevin, revisiting that input value, I think I would look for the value of the field instead of checking for null.  Like this:

FOR EMPTY   if(jQuery(’#kevinsNumber’).val()==&#039;&#039;){
FOR A VALUE   if(jQuery(’#kevinsNumber’).val()&gt;=&#039;3&#039;){

cheers,
~ brent</description>
		<content:encoded><![CDATA[<p>Cool Tetsuro.  A few comments:</p>
<p>Grabbing the submit event would make the func fire on BOTH the click AND &#8216;enter&#8217; key press.   </p>
<p>example: jQuery(&#8220;#checkout&#8221;).submit(function(){</p>
<p>Also, Kevin, revisiting that input value, I think I would look for the value of the field instead of checking for null.  Like this:</p>
<p>FOR EMPTY   if(jQuery(’#kevinsNumber’).val()==&#8221;){<br />
FOR A VALUE   if(jQuery(’#kevinsNumber’).val()>=&#8217;3&#8242;){</p>
<p>cheers,<br />
~ brent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/comment-page-1/#comment-459</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Wed, 31 Mar 2010 17:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tetsutakara.com/?p=593#comment-459</guid>
		<description>Yo Kevin.  Instead of checking for a checked checkbox, which the answer is either yes or no, you want to look at the value of a text field input.

So looking above at Tetsuro&#039;s example at the top of the page, you need to replace his live 5 with this:

  if(jQuery(&#039;#kevinsNumber&#039;).attr(&#039;value&#039;) == null){

So that will look at your input with an id=kevinsNumber, and see if it has a value.  If it does, then it will continue and submit the form on the next line.  If not his code pops a js alert.

If you wanted to make sure the number was at least &quot;3&quot; or whatever, do this:

  if(jQuery(&#039;#kevinsNumber&#039;).attr(&#039;value&#039;) &gt;= 3){

Peace out.  Hope that helps ya.
~ brent</description>
		<content:encoded><![CDATA[<p>Yo Kevin.  Instead of checking for a checked checkbox, which the answer is either yes or no, you want to look at the value of a text field input.</p>
<p>So looking above at Tetsuro&#8217;s example at the top of the page, you need to replace his live 5 with this:</p>
<p>  if(jQuery(&#8216;#kevinsNumber&#8217;).attr(&#8216;value&#8217;) == null){</p>
<p>So that will look at your input with an id=kevinsNumber, and see if it has a value.  If it does, then it will continue and submit the form on the next line.  If not his code pops a js alert.</p>
<p>If you wanted to make sure the number was at least &#8220;3&#8243; or whatever, do this:</p>
<p>  if(jQuery(&#8216;#kevinsNumber&#8217;).attr(&#8216;value&#8217;) &gt;= 3){</p>
<p>Peace out.  Hope that helps ya.<br />
~ brent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/comment-page-1/#comment-455</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 05 Mar 2010 23:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tetsutakara.com/?p=593#comment-455</guid>
		<description>This is great, but not quite what I am trying to do.  I actually need to require a number in a textarea.  How do I alter this to require the text field to not be empty and to be a numerical entry?</description>
		<content:encoded><![CDATA[<p>This is great, but not quite what I am trying to do.  I actually need to require a number in a textarea.  How do I alter this to require the text field to not be empty and to be a numerical entry?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sherika Meuser</title>
		<link>http://blog.tetsutakara.com/593/shopify-tutorial-making-sure-a-user-agrees-to-the-terms-conditions-using-jquery/comment-page-1/#comment-454</link>
		<dc:creator>Sherika Meuser</dc:creator>
		<pubDate>Fri, 05 Mar 2010 01:39:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tetsutakara.com/?p=593#comment-454</guid>
		<description>Hello, I came across this blog article while searching for help with JavaScript. I have recently switched browsers from Chrome to IE. Now I seem to have a issue with loading JavaScript. Everytime I browse page that needs Javascript, my computer freezes and I get a &quot;runtime error javascript.JSException: Unknown name&quot;. I can&#039;t seem to find out how to fix the problem. Any help is greatly appreciated! Thanks</description>
		<content:encoded><![CDATA[<p>Hello, I came across this blog article while searching for help with JavaScript. I have recently switched browsers from Chrome to IE. Now I seem to have a issue with loading JavaScript. Everytime I browse page that needs Javascript, my computer freezes and I get a &#8220;runtime error javascript.JSException: Unknown name&#8221;. I can&#8217;t seem to find out how to fix the problem. Any help is greatly appreciated! Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
