[jQuery] Re: Accessing the value

2009-06-20 Thread W0utR
Thanks for the quick reply, i tried adding a value and it works thank you :) On 20 jun, 20:07, mkmanning michaell...@gmail.com wrote: The default value is 'on'. You need to assign a value to each radio; also the selector you're using selects all of the radios without distinguishing between

[jQuery] Re: Accessing the value

2009-06-20 Thread mkmanning
The default value is 'on'. You need to assign a value to each radio; also the selector you're using selects all of the radios without distinguishing between selected or not. Try this to experiment with: $(':radio.star').click(function(){ console.log($(this).val()); }); Your html should