Perfect!
Thanks.
Tom
On 06/02/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Tom Holder schrieb:
> > Hi Everyone,
> >
> > No doubt a simple solution to this, but I have 3 radio items belonging
> > to the same group (all have the name 'block') and I want to get the
> > value of the selected item. How can I do this with jquery as I can't
> > find how to select by name.
> >
> > Thanks
> > Tom
>
>
> Hi Tom, try this:
>
> var checkedValue = $('[EMAIL PROTECTED]"block"]:checked').val();
>
>
> -- Klaus
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
--
Tom Holder
Technical Director
SimpleWeb Limited
Great websites. Low cost. No catch.
http://www.simpleweb-online.co.uk/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/