SO - 20842308

by Arun P Johny

HTML

<input type="radio" name="AS88" value="true" />
<input type="radio" name="AS88" value="false" />
<button>Test</button>

JavaScript

$('button').click(function () {
    alert($('input[name="AS88"]:checked').val())
})