Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body style="text-align:center;">
<form id="my_Form">
<input type="radio" name="radioName" value="1" /> 1
<br/>
<input type="radio" name="radioName" value="2" /> 2
<br/>
<input type="radio" name="radioName" value="3" /> 3
<br/>
</form>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js">
</script>
<script type="text/javascript">
('#my_Form input').on('change', function() {
console.log($('input[name=radioName]:checked', '#my_Form').val());
});
</script>
</body>
</html>