`
y806839048
  • 浏览: 1083934 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

看变量jsp中包了几层从debug看

    博客分类:
  • jsp
jsp 
阅读更多
var dqgj;
function initDatagrid(url,param,oid){
alert(1);
$.ajaxsend({
url:url,
data:param,
success:function(data){
dqgj =data;
$(oid).datagrid({
data: data["data"],
onLoadSuccess:function(){
$('.linkbutton').linkbutton({iconCls: 'l-icon-view'}); 
}
});
}
});
alert(dqgj.data.length);
if(dqgj==null||dqgj==""||dqgj.data.length==0){
//myChart.hideLoading();//取消loading

var gj= document.getElementById("dqgjdiv");
var html =" <div>";
html +="没有可以显示数据!";
html +=" </div>";

gj.innerHTML =html;
document.getElementById("dqgjdiv").setAttribute("align","center");
document.getElementById("dqgjdiv").setAttribute("height","10px");
return;

}
}
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics