$.ajax({
type:"get",
async:false,
dataType: 'JSONP',//here
jsonp: 'callback',
url : "<?php echo $www;?>/article/getmyshare",
//data:'uid='+<?php echo $agent['u_id'];?>+'&page='+page,
data:{'uid':<?php echo $agent['u_id'];?>, 'page':page},
success:function(ret){
//var info = JSON.parse(ret);
var info = (ret);
if(click && info.length ==0) alert('没有了');
var ashare='';
for(var i=0; i<info.length; i++){
ashare += '<a href=<?php echo $rest.'mreading_info?uid='.$agent['u_id'].'&aid=';?>'+info[i].a_id+'><img src="'+info[i].a_image+'" width="100" height="65" ><p style="font-size:15px;">'+info[i].a_short_title+'</p></a>';
}
$('.meShare .list').append(ashare);
}
});
echo $callback."(".json_encode($myshare).")";