How to get the selected radio button value in jQuery?

I have 2 radio button, where the user can select either yes or no.

<input type="radio" name="radio_button" value="1" /> Yes
<input type="radio" name="radio_button" value="0" /> No

So how can I get the selected radio button value without form submission?

You can use :checked selector to get the selected radio button and you can get your desired value like below.

$('input[name="radio_button"]:checked').val();

Hope that helps.