How can I know which radio button is selected via jQuery?
Asked 07 September, 2021
Viewed 1.4K times
  • 58
Votes

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?

30 Answer