1.获取选中的<input type="radio" name="type"/>的值
<input type="radio" name="type"/>
var search_type = $('input[name="type"]:checked').val();
1.获取选中的<input type="radio" name="type"/>的值
<input type="radio" name="type"/>
var search_type = $('input[name="type"]:checked').val();