jquery Gets the value that iOS can't get, while Android can
function ajaxform(){var id=$(".main_box ul li:last-child").find('.delete_btn').attr('field');alert(id);alert(isadmin);$.ajax({ type:'POST', url:"{:U('App/Friends/ajaxform')}", data:{"openid":openid,"id":id}, dataType:"json", global:false, success:function(data){ $.each(data[1],function(e,a){ isblack=a; }); }});
}
Reply content:
jquery Gets the value that iOS can't get, while Android can
function ajaxform(){var id=$(".main_box ul li:last-child").find('.delete_btn').attr('field');alert(id);alert(isadmin);$.ajax({ type:'POST', url:"{:U('App/Friends/ajaxform')}", data:{"openid":openid,"id":id}, dataType:"json", global:false, success:function(data){ $.each(data[1],function(e,a){ isblack=a; }); }});
}
You first note the other, the page into only run this line, I just use the 7.2 version of the iphone test, can come out.
var id=$(".main_box ul li:last-child").find('.delete_btn').attr('field');alert(id);
The declaration function is placed in the Ready function.