如果你对该文章中的内容有疑问/不解,可以点击此处链接提问
要注明问题和此文章链接地址 点击此处跳转
<P>地址管理</P> <ul class="address_zz"> <?php foreach($address_list as $k=>$vo): ?> <li> <input type="radio" name="address_select" class="address_select" value="{$vo['id']}"> 收货人:{$vo['name']} {$vo['address']} {$vo['mobile']} </li> <?php endforeach; ?> </ul> $(".address_select").on('change',function(){ // var pid = $(".select01 option[selected='selected']").val(); var id = $(this).val(); alert(id) })