[jQuery] Bind event to radio button group

[jQuery] Bind event to radio button group

I'm new to jQuery. I'm trying to bind a function to a group of radio buttons.
For example,
$("input[@name=rb]").bind("click",
function() {
alert ('radio button clicked');
}
);
should run the function anytime a radio button named 'rb' is clicked
but isn't working. Am I approaching this the wrong way, or is my
jQuery syntax wrong?
Thanks,
Brad
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/