function showproduct(product_id){
var url = ‘http://www.t.com/blog/’;
url += ‘?product_id=’ + product_id + ‘&flag=tour&mt=’+ Math.random();
$.ajax({
url:url,
type:’GET’,
dataType:’json’,
timeout:10000,
success:function(data){
var s = data.s;
if(s){
var select = data.all;
for(var i=0;i<select.length;i++){
ss += ‘<li style="width:155px;height:22px;overflow:hidden;">’+select[i].name+’</li>’;
}
$(‘#selected’).html(ss);
}else{
alert(‘加载产品失败,请刷新页面后再试!’);
}
}
});
}
逍遥电影网 :www.xiaoyao99.com