<?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: How to loop through checkboxes or radio button groups via JavaScript</title>
	<atom:link href="http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/</link>
	<description>Random Snippets of Code for Web Developers</description>
	<lastBuildDate>Thu, 19 Jan 2012 11:30:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: jon christian</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-60076</link>
		<dc:creator>jon christian</dc:creator>
		<pubDate>Sun, 04 Dec 2011 21:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-60076</guid>
		<description>this is just what I was looking for, thank you for this, Allen</description>
		<content:encoded><![CDATA[<p>this is just what I was looking for, thank you for this, Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-42539</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Thu, 08 Sep 2011 15:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-42539</guid>
		<description>No problem =)  I&#039;m glad it helped.</description>
		<content:encoded><![CDATA[<p>No problem =)  I&#8217;m glad it helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alin</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-42526</link>
		<dc:creator>Alin</dc:creator>
		<pubDate>Thu, 08 Sep 2011 13:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-42526</guid>
		<description>This helped me figure out how to select all checkboxes(by type), not all inputs(including radio inputs)!!
thanks!!!</description>
		<content:encoded><![CDATA[<p>This helped me figure out how to select all checkboxes(by type), not all inputs(including radio inputs)!!<br />
thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-40818</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Sun, 21 Aug 2011 04:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-40818</guid>
		<description>Hi Samuel,  

I&#039;m glad you found the post useful! =)

Allen</description>
		<content:encoded><![CDATA[<p>Hi Samuel,  </p>
<p>I&#8217;m glad you found the post useful! =)</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samuel</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-40811</link>
		<dc:creator>samuel</dc:creator>
		<pubDate>Sun, 21 Aug 2011 03:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-40811</guid>
		<description>Thanks a lot for this post on the Javascript..It has kept me up for 3straight nites and now here it is,the solution to my worries!! God bless you plenty!!</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this post on the Javascript..It has kept me up for 3straight nites and now here it is,the solution to my worries!! God bless you plenty!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-31225</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Fri, 22 Apr 2011 04:35:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-31225</guid>
		<description>Hi Gretchen,

The code to do this would be pretty ugly compared to what jQuery is capable of:

http://stackoverflow.com/questions/4086957/jquery-see-if-any-or-no-checkboxes-are-selected

Let me know if this is not an option for you.

Allen</description>
		<content:encoded><![CDATA[<p>Hi Gretchen,</p>
<p>The code to do this would be pretty ugly compared to what jQuery is capable of:</p>
<p><a href="http://stackoverflow.com/questions/4086957/jquery-see-if-any-or-no-checkboxes-are-selected" rel="nofollow">http://stackoverflow.com/questions/4086957/jquery-see-if-any-or-no-checkboxes-are-selected</a></p>
<p>Let me know if this is not an option for you.</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gretchen</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-31207</link>
		<dc:creator>Gretchen</dc:creator>
		<pubDate>Thu, 21 Apr 2011 20:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-31207</guid>
		<description>This is great, however what I&#039;m looking for is an alert that says, You need to select a choice in the candy section if there is none chosen on submit.
Can you help?</description>
		<content:encoded><![CDATA[<p>This is great, however what I&#8217;m looking for is an alert that says, You need to select a choice in the candy section if there is none chosen on submit.<br />
Can you help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: df</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-30778</link>
		<dc:creator>df</dc:creator>
		<pubDate>Wed, 13 Apr 2011 05:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-30778</guid>
		<description>Thanks mate, very useful</description>
		<content:encoded><![CDATA[<p>Thanks mate, very useful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shiva</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-26644</link>
		<dc:creator>Shiva</dc:creator>
		<pubDate>Wed, 23 Feb 2011 12:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-26644</guid>
		<description>very good example
neatly explained....

thanks a lot</description>
		<content:encoded><![CDATA[<p>very good example<br />
neatly explained&#8230;.</p>
<p>thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jess</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-5731</link>
		<dc:creator>Jess</dc:creator>
		<pubDate>Tue, 11 Aug 2009 20:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-5731</guid>
		<description>This was a great demo.  Exactly what I was looking for.</description>
		<content:encoded><![CDATA[<p>This was a great demo.  Exactly what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Umesh</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-5470</link>
		<dc:creator>Umesh</dc:creator>
		<pubDate>Thu, 30 Jul 2009 13:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-5470</guid>
		<description>This content is very helpful</description>
		<content:encoded><![CDATA[<p>This content is very helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayesh Mistry</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-3910</link>
		<dc:creator>Jayesh Mistry</dc:creator>
		<pubDate>Mon, 25 May 2009 13:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-3910</guid>
		<description>Your script is just perfect. Exactly what I was looking for.
Thank you heaps.</description>
		<content:encoded><![CDATA[<p>Your script is just perfect. Exactly what I was looking for.<br />
Thank you heaps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-3691</link>
		<dc:creator>Ganesh</dc:creator>
		<pubDate>Sat, 16 May 2009 12:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-3691</guid>
		<description>Hey,

U gave me such a brilliant idea :)

Actually i&#039;m just learning the JScript and wanna create a test paper where there are 20 questions and some answers. I want to create a script by which i can get the answers ticked by the candidates as well as i want to create a script by which i can find the count of correct answers ticked by them.

your script will hepl me a lot in getting the logic. :)


Thanks a lot....</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>U gave me such a brilliant idea :)</p>
<p>Actually i&#8217;m just learning the JScript and wanna create a test paper where there are 20 questions and some answers. I want to create a script by which i can get the answers ticked by the candidates as well as i want to create a script by which i can find the count of correct answers ticked by them.</p>
<p>your script will hepl me a lot in getting the logic. :)</p>
<p>Thanks a lot&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-891</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Fri, 05 Dec 2008 03:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-891</guid>
		<description>this is sort of what i wanted. i&#039;m looking to do the same thing but it must change as soon as the checkbox is checked. basicly i&#039;m creating a mail script that displays all the messages in a table and each row gets a checkbox. if you select atleast 1 checkbox then a hidden div (a floating menu) will pop up and say with selected what would you like to do and they would choose delete or mark read or mark unread. any idea on how this can be done</description>
		<content:encoded><![CDATA[<p>this is sort of what i wanted. i&#8217;m looking to do the same thing but it must change as soon as the checkbox is checked. basicly i&#8217;m creating a mail script that displays all the messages in a table and each row gets a checkbox. if you select atleast 1 checkbox then a hidden div (a floating menu) will pop up and say with selected what would you like to do and they would choose delete or mark read or mark unread. any idea on how this can be done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuna</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-645</link>
		<dc:creator>Yuna</dc:creator>
		<pubDate>Tue, 04 Nov 2008 08:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-645</guid>
		<description>Thx a lot man!
This example was just what i needed :)</description>
		<content:encoded><![CDATA[<p>Thx a lot man!<br />
This example was just what i needed :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego</title>
		<link>http://www.randomsnippets.com/2008/05/15/how-to-loop-through-checkboxes-or-radio-button-groups-via-javascript/comment-page-1/#comment-421</link>
		<dc:creator>Diego</dc:creator>
		<pubDate>Sat, 27 Sep 2008 15:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=17#comment-421</guid>
		<description>Exactly what i needed cheers mate</description>
		<content:encoded><![CDATA[<p>Exactly what i needed cheers mate</p>
]]></content:encoded>
	</item>
</channel>
</rss>

