在主页面写入 <div id="Div1" style="display: none;">
<form action="" style="width: 300px">
<div class="mainlist" style="height: 85%">
<iframe id="iframe" src="PlanRoomAjax.aspx" style="width: 700px; height: 460px;">
</iframe>
</div>
</form>
</div>
因为这个是弹出层
所以弹出的时候js如下
function ShowState(state) {
var param = state;
var paramCode = document.getElementById("<%=hfPlanCode.ClientID %>").value; $.ajax({
type: "POST",
url: "PlanRoomAjax.aspx?" + Math.random(),
data: "State=" + param + "&PlanCode=" + paramCode,
success: function (data) {
$.webox({ height: 500, width: 700,
bgvisibel: true,
title: '医师信息',
html: $('#Div1').html(data)
});
}
});
}
PlanRoomAjax.aspx页面也运行正常,但是弹出宽显示不出内容,其显示错误界面如下
<form action="" style="width: 300px">
<div class="mainlist" style="height: 85%">
<iframe id="iframe" src="PlanRoomAjax.aspx" style="width: 700px; height: 460px;">
</iframe>
</div>
</form>
</div>
因为这个是弹出层
所以弹出的时候js如下
function ShowState(state) {
var param = state;
var paramCode = document.getElementById("<%=hfPlanCode.ClientID %>").value; $.ajax({
type: "POST",
url: "PlanRoomAjax.aspx?" + Math.random(),
data: "State=" + param + "&PlanCode=" + paramCode,
success: function (data) {
$.webox({ height: 500, width: 700,
bgvisibel: true,
title: '医师信息',
html: $('#Div1').html(data)
});
}
});
}
PlanRoomAjax.aspx页面也运行正常,但是弹出宽显示不出内容,其显示错误界面如下
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货