Ahhh Thanks for the test case. :) The following worked for me: $('[EMAIL PROTECTED]:checked').val()
-- Brandon Aaron On 12/18/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > Doesn't seem to be working: > http://www.xrag.com/jquery_test/ > > the radio buttons are valued sequentially starting with 2. Using that code > always returns the value of the first radio button. > > Any ideas? > > <!----------------//------ > andy matthews > web developer > certified advanced coldfusion programmer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --------------//---------> > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Brandon Aaron > Sent: Monday, December 18, 2006 2:41 PM > To: jQuery Discussion. > Subject: Re: [jQuery] Value of currently selected radio button > > > On 12/18/06, Brandon Aaron <[EMAIL PROTECTED]> wrote: > > Untested but I believe it should work according to a previous thread > > today on this topic. > > I just realized you stated the other thread also. Let us know if it > isn't working for you on the radio inputs. I would also suggest giving > the selector some context for improved performance. > > $('#context input.radioMe:selected').val() > > -- > Brandon Aaron > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/