If you want to get the checked value:

$("input:[EMAIL PROTECTED]").click(function() {
   var checkedvalue = $(this).val();
});

-- Josh

----- Original Message ----- From: <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Wednesday, November 28, 2007 5:42 AM
Subject: [jQuery] how to know which radio button is checked?



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() {

});

Reply via email to