JScript错误:Microsoft JScript运行时错误:必需对象 [英] JScript Error :Microsoft JScript runtime error: Object required
本文介绍了JScript错误:Microsoft JScript运行时错误:必需对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我收到错误消息:Microsoft JScript运行时错误:必需对象
我的代码是:
Hello,
I am getting an error: Microsoft JScript runtime error: Object required
My Code is:
function ShowUPI_Search() {debugger;
rblEmployeeSearch();
document.getElementById('UPISearchResult').innerHTML = '';
document.getElementById('txtSearch').value = '';
//I am getting error here:
document.getElementById('imgClose').style.display = 'inline';
listControl1.checked = false;
listControl2.checked = false;
listControl3.checked = false;
fncallUPISearch(3);
$find('mpeUPIGreetings').show();
}
有人可以建议解决这个问题!!
Can anyone suggest to solve this problem!!
推荐答案
find('
find('mpeUPIGreetings').show(); }
谁能建议解决这个问题!!!
Can anyone suggest to solve this problem!!
如果用这里"表示下一行",则问题是id="imgClose"
找不到任何元素.使用此id
检查元素的拼写和是否存在.
如果问题是另一行,请您自己查找,理解此消息意味着您尝试使用未定义的对象.
—SA
If by "here" you mean "in next line", the problem is that no element is found by theid="imgClose"
; check up spelling and presence of an element with thisid
.
If the problem is another line, please find it by yourself, understanding that this message mean that you try to use undefined object.
—SA
这篇关于JScript错误:Microsoft JScript运行时错误:必需对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文