$("input[name='transmission']:checked").val()
On Dec 12, 2008, at 3:48 PM, Chiste wrote:
>
> I have a problem here. No matter which radio a click, I'm always
> getting the value of the firts one. How could I get the value of the
> selected radio?
>
>
> One
> Two
> Three label>
> Four label>
var tran = $("input:radio[name='transmission']:checked").val();
On Fri, Dec 12, 2008 at 1:48 PM, Chiste wrote:
>
> I have a problem here. No matter which radio a click, I'm always
> getting the value of the firts one. How could I get the value of the
> selected radio?
>
>
> One
> Two
> Three
2 matches
Mail list logo