$(input[name="xxx"]:checked.val() // 获取到input 带有type=radio 的这种(获取选中的值)
$(input[name="xxx"]:checked).val() //获取input的值

本文作者:Abel°