You could also use the :checked selector:

$('input[name=othersTransLink]:checked').val()

Pyro

On Oct 16, 10:11 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> One option would be to use the form plugin:
>
> var value = $('[name=othersTransLInk]').fieldValue();
>
> This will return the value of the selected radio.
>
> Mike
>
> > I have a radio button like this one:
>
> > <input type="radio" name="othersTransLink" value="familiale"
> > class="radio">&nbsp;Lien familiale
> > <input type="radio" name="othersTransLink" value="étroit"
> > class="radio">&nbsp;Lien étroit
> > <input type="radio" name="othersTransLink" value="Intérêt direct ou
> > indirect" class="radio">&nbsp;Intérêt direct ou indirect
>
> > How can I have the value of the checked radio button ?
> > Is this possible ?

Reply via email to