<input type="radio" name="xx" value="111"/>111
 <input type="radio" name="xx" value="222"/>222
 <button onclick="pp()">按钮</button>


function pp(){
   var a= $("input[name='xx']:checked");
    alert(a.val())
}