日期:2014-05-16 浏览次数:20885 次
$.get("http://localhost:8081/TestPic/PicListServlet",{sfzh:"1",dept:"1",username:"2"},function(data,success){
var sessionId = data[data.length-1].value;
for(var i=0;i<data.length-1;i++){
$('#'+data[i].key).attr("style","color:red");
$('#'+data[i].key).attr("href","javascript:showDetail('"+data[i].key+"','"+sessionId+"')");
}
},"json");