If you filter on :checked before binding the click, what happens when the unchecked radio is clicked?!
On Nov 28, 2:50 pm, Tim <[EMAIL PROTECTED]> wrote: > try this: > > $("input:[EMAIL PROTECTED]:checked").click(function() { > > }); > > On Nov 28, 8:42 am, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > I have two radio buttons, user can choose one of them, when it is > > clicked, it will trigger some function calls, now, how to know which > > radio button is selected at this time? thanks. > > > $("input:[EMAIL PROTECTED]").click(function() { > > > });