I have two radio buttons and want to post the value of the selected one. How can I get the value with jQuery?
I can get all of them like this:
$("form :radio")
How do I know which one is selected?
转载于:https://stackoverflow.com/questions/596351/how-can-i-know-which-radio-button-is-selected-via-jquery