Microsoft JScript 运行时异常: 缺少对象一般是哪个地方出错了呢
展开全部
<input id=yjyj style=border: 0,0,0,0 type=radio name=selectType value=0 onclick=yj() checked=checked/应急查询 </td</tr<tr<td align=center
<input id=imweather type=radio onclick=yi() name=Area value=4 /重要天气 </td</tr由应急查询向重要天气跳转时出现问题:Microsoft JScript 运行时错误: 缺少对象
function yj(){var DivDW = top.document.getElementById(leftBar);
var DivL = top.document.getElementById(ControlBar);
var MAP = top.document.getElementById(map);
var yjfb = document.getElementById(yjfb); //预警发布
var yjfx = document.getElementById(yjfx); //预警分析
var yjyb = document.getElementById(yjyb);
var yjfxs = document.getElementById(yjfxs); //应急分析
var yjyj = document.getElementById(yjyj); //预警应急
var imweather = document.getElementById(imweather); //重要天气
MAP.src = dmMainMap.htm;
DivL.src = Control.htm;
if(yjyb.checked == true){DivDW.src=weatherEmergencyAlert/Yujing.aspx;}else if(yjyj.checked == true){DivDW.src=weatherEmergencyAlert/YingJi.aspx;}else if(imweather.checked == true){DivDW.src = weatherEmergencyAlert/importweather.aspx;}else if(yjfb.checked == true){DivDW.src =weatherEmergencyAlert/Yujing.aspx;}else if(yjfx.checked == true){DivDW.src =weatherEmergencyAlert/ControlAlertAssay.aspx;}else if(yjfxs.checked == true){DivDW.src =weatherEmergencyAlert/EmergencyAssay.aspx;}}------解决方案--------------------------------------------------------
男的女的? 都说少对象了 赶紧找个呗 哈哈 开玩笑的
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询