BZ易风

导航

 

html

<ul class="span8">
                <input type="radio" name="insu_type" class="insu_type" value="1"><span>寿险</span>
                <input type="radio" name="insu_type" class="insu_type"  value="2"><span>财险</span>
</ul>

js取值

var insu_type = $('input:radio[name="insu_type"]:checked').val();

 

posted on 2020-02-26 21:00  BZ易风  阅读(676)  评论(0编辑  收藏  举报