<?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: Get value of radio button group using prototype</title>
	<atom:link href="http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/feed/" rel="self" type="application/rss+xml" />
	<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/</link>
	<description>Development Blog</description>
	<lastBuildDate>Mon, 07 May 2012 20:07:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: jaaristizabal</title>
		<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/comment-page-1/#comment-641</link>
		<dc:creator>jaaristizabal</dc:creator>
		<pubDate>Tue, 22 Feb 2011 00:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/#comment-641</guid>
		<description>Excellent, thanks!

It&#039;s workin&#039; so fine!</description>
		<content:encoded><![CDATA[<p>Excellent, thanks!</p>
<p>It&#8217;s workin&#8217; so fine!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Thomas</title>
		<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/comment-page-1/#comment-605</link>
		<dc:creator>Christopher Thomas</dc:creator>
		<pubDate>Sun, 01 Aug 2010 16:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/#comment-605</guid>
		<description>Your post seems to say that you can use this method to obtain a single value, but doesnt pluck return all the values from all the checked elements? which means it&#039;ll return an array of 1 element which contains the value?

a better way perhaps is like this:

var value = form.down(&quot;input:checked[type=&#039;radio&#039;][name=&#039;radio_group_name&#039;]&quot;).value;

It seems this is slightly simpler, I suppose not a great improvement.  But it will return the value itself, not an array containing the value.

Thanks for your solution.</description>
		<content:encoded><![CDATA[<p>Your post seems to say that you can use this method to obtain a single value, but doesnt pluck return all the values from all the checked elements? which means it&#8217;ll return an array of 1 element which contains the value?</p>
<p>a better way perhaps is like this:</p>
<p>var value = form.down(&#8220;input:checked[type='radio'][name='radio_group_name']&#8220;).value;</p>
<p>It seems this is slightly simpler, I suppose not a great improvement.  But it will return the value itself, not an array containing the value.</p>
<p>Thanks for your solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shuji</title>
		<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/comment-page-1/#comment-555</link>
		<dc:creator>shuji</dc:creator>
		<pubDate>Sat, 20 Mar 2010 08:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/#comment-555</guid>
		<description>very cool!
thanks.</description>
		<content:encoded><![CDATA[<p>very cool!<br />
thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Manaois</title>
		<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/comment-page-1/#comment-437</link>
		<dc:creator>Jonathan Manaois</dc:creator>
		<pubDate>Tue, 07 Jul 2009 10:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/#comment-437</guid>
		<description>nice post, thanks...</description>
		<content:encoded><![CDATA[<p>nice post, thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Obtener el valor de la selección de un grupo de radiobuttons con Prototype - 6th Edition</title>
		<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/comment-page-1/#comment-383</link>
		<dc:creator>Obtener el valor de la selección de un grupo de radiobuttons con Prototype - 6th Edition</dc:creator>
		<pubDate>Wed, 04 Mar 2009 21:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/#comment-383</guid>
		<description>[...] Get value of radio button group using prototype. http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Get value of radio button group using prototype. <a href="http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/" rel="nofollow">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Garbers</title>
		<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/comment-page-1/#comment-332</link>
		<dc:creator>Jeff Garbers</dc:creator>
		<pubDate>Tue, 18 Nov 2008 16:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/#comment-332</guid>
		<description>Very elegant, thank you! As a Prototype rookie, though, I&#039;m wondering... don&#039;t you need to have [0] at the end of that line? pluck() seems to return an array, and you want the scalar value for the chosen value.  It seems to work just fine as-is, so maybe I don&#039;t have a thorough understanding of how JS arrays work...</description>
		<content:encoded><![CDATA[<p>Very elegant, thank you! As a Prototype rookie, though, I&#8217;m wondering&#8230; don&#8217;t you need to have [0] at the end of that line? pluck() seems to return an array, and you want the scalar value for the chosen value.  It seems to work just fine as-is, so maybe I don&#8217;t have a thorough understanding of how JS arrays work&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grant</title>
		<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/comment-page-1/#comment-306</link>
		<dc:creator>Grant</dc:creator>
		<pubDate>Sat, 18 Oct 2008 22:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/#comment-306</guid>
		<description>Very elegant!  I laughed out loud when I read it.  I love how you can do this kind of stuff with Prototype.</description>
		<content:encoded><![CDATA[<p>Very elegant!  I laughed out loud when I read it.  I love how you can do this kind of stuff with Prototype.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik Wakelin</title>
		<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/comment-page-1/#comment-301</link>
		<dc:creator>Nik Wakelin</dc:creator>
		<pubDate>Tue, 30 Sep 2008 12:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/#comment-301</guid>
		<description>Works a treat, thanks heaps!</description>
		<content:encoded><![CDATA[<p>Works a treat, thanks heaps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leon</title>
		<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/comment-page-1/#comment-284</link>
		<dc:creator>Leon</dc:creator>
		<pubDate>Thu, 31 Jul 2008 20:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/#comment-284</guid>
		<description>Works like a charm!  Thanks!</description>
		<content:encoded><![CDATA[<p>Works like a charm!  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hieu Le</title>
		<link>http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/comment-page-1/#comment-275</link>
		<dc:creator>Hieu Le</dc:creator>
		<pubDate>Thu, 03 Jul 2008 23:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/#comment-275</guid>
		<description>It works great. Thanks a lot for sharing :)</description>
		<content:encoded><![CDATA[<p>It works great. Thanks a lot for sharing <img src='http://stereointeractive.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

