我用jq;单选框;if($('radio').attr('check')=='checked'){console.log($(this).value)//获取value值console.log($(this).index())// 获取当前下标}check同,换个名字就好了