<?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: Useful JavaScript: maxCheckbox</title>
	<atom:link href="http://www.nullislove.com/2008/05/20/useful-javascript-maxcheckbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nullislove.com/2008/05/20/useful-javascript-maxcheckbox/</link>
	<description>Code for Coders</description>
	<pubDate>Sat, 31 Jul 2010 03:37:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Adam Moro</title>
		<link>http://www.nullislove.com/2008/05/20/useful-javascript-maxcheckbox/comment-page-1/#comment-1138</link>
		<dc:creator>Adam Moro</dc:creator>
		<pubDate>Fri, 23 May 2008 03:27:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=264#comment-1138</guid>
		<description>That's the best news I've heard all year. Can't wait.</description>
		<content:encoded><![CDATA[<p>That&#8217;s the best news I&#8217;ve heard all year. Can&#8217;t wait.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Skoglund</title>
		<link>http://www.nullislove.com/2008/05/20/useful-javascript-maxcheckbox/comment-page-1/#comment-1137</link>
		<dc:creator>Kevin Skoglund</dc:creator>
		<pubDate>Fri, 23 May 2008 02:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=264#comment-1137</guid>
		<description>Thanks, Adam!  I have already started working on PHP Beyond the Basics as well as making some updates to the existing training videos.  I'm glad to hear that they helped.</description>
		<content:encoded><![CDATA[<p>Thanks, Adam!  I have already started working on PHP Beyond the Basics as well as making some updates to the existing training videos.  I&#8217;m glad to hear that they helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Moro</title>
		<link>http://www.nullislove.com/2008/05/20/useful-javascript-maxcheckbox/comment-page-1/#comment-1136</link>
		<dc:creator>Adam Moro</dc:creator>
		<pubDate>Fri, 23 May 2008 02:51:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=264#comment-1136</guid>
		<description>Hi Kevin, I've watched your PHP Essential Training Videos countless times and certainly will be watching them many times again. Firstly, thank you for making them. They're absolutely flawless and I wouldn't be where I am today had I not found them. Can't wait utill I have the time to start the Ruby on Rails training which I notice has a Beyond the Basics edition as well. Do you plan to ever do something similar for PHP? I think it goes without saying you'd have at least one customer. Thanks again and sorry for using a comment to contact you (I couldn't find a contact link/form anywhere).</description>
		<content:encoded><![CDATA[<p>Hi Kevin, I&#8217;ve watched your PHP Essential Training Videos countless times and certainly will be watching them many times again. Firstly, thank you for making them. They&#8217;re absolutely flawless and I wouldn&#8217;t be where I am today had I not found them. Can&#8217;t wait utill I have the time to start the Ruby on Rails training which I notice has a Beyond the Basics edition as well. Do you plan to ever do something similar for PHP? I think it goes without saying you&#8217;d have at least one customer. Thanks again and sorry for using a comment to contact you (I couldn&#8217;t find a contact link/form anywhere).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Skoglund</title>
		<link>http://www.nullislove.com/2008/05/20/useful-javascript-maxcheckbox/comment-page-1/#comment-1135</link>
		<dc:creator>Kevin Skoglund</dc:creator>
		<pubDate>Wed, 21 May 2008 17:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=264#comment-1135</guid>
		<description>Glen,  what do you see as the advantage of your version?

I think the disadvantage would be that it doesn't warn you until you submit the form.  I think it is more elegant to handle it when the user is going through that area of the form instead of asking them to find and correct the checkboxes after the fact.  Prevention vs. cure.  But that may also just reflect a personal preference of mine.</description>
		<content:encoded><![CDATA[<p>Glen,  what do you see as the advantage of your version?</p>
<p>I think the disadvantage would be that it doesn&#8217;t warn you until you submit the form.  I think it is more elegant to handle it when the user is going through that area of the form instead of asking them to find and correct the checkboxes after the fact.  Prevention vs. cure.  But that may also just reflect a personal preference of mine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen</title>
		<link>http://www.nullislove.com/2008/05/20/useful-javascript-maxcheckbox/comment-page-1/#comment-1129</link>
		<dc:creator>Glen</dc:creator>
		<pubDate>Tue, 20 May 2008 13:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=264#comment-1129</guid>
		<description>Why not degrade gracefully, and use CSS classes, and a bit of Javascript?  Here's the code:

 apple
 maple
 cinnamon

onsubmit for the form has this
&lt;pre&gt;
function maximum(fObj, associatedNumber) {
	var theseCheckboxes = document.getElementsByName(fObj.name);
	var somethingChecked = 0;
	for(var theCheckbox = 0; theCheckbox  associatedNumber) {
		alert('You may check up to '+associatedNumber+' ' + checkboxes + '!');
		return false;
	}
}
&lt;/pre&gt;
Thoughts?</description>
		<content:encoded><![CDATA[<p>Why not degrade gracefully, and use CSS classes, and a bit of Javascript?  Here&#8217;s the code:</p>
<p> apple<br />
 maple<br />
 cinnamon</p>
<p>onsubmit for the form has this</p>
<pre>
function maximum(fObj, associatedNumber) {
	var theseCheckboxes = document.getElementsByName(fObj.name);
	var somethingChecked = 0;
	for(var theCheckbox = 0; theCheckbox  associatedNumber) {
		alert('You may check up to '+associatedNumber+' ' + checkboxes + '!');
		return false;
	}
}
</pre>
<p>Thoughts?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
