theForm是未定义的 [英] theForm is undefined
本文介绍了theForm是未定义的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建一个网站并在调用
时在default.aspx页面中实现ICallbackEventHandler
I create a website and implement ICallbackEventHandler
in default.aspx page when I call
WebForm_DoCallback(args1, arg2, callback, 'comment', null, false);
然后我在下面的行中获取TheForm is undefined error.任何人都可以解决此错误的原因吗?
Then I am getting theForm is undefined error in following line. Can anybody solve this error why it is occurring?
function WebForm_InitCallback() {
var count = theForm.elements.length;
var element;
在此先感谢
Imrankhan
Thanks in advance
Imrankhan
推荐答案
我要在这里走出去,说尚未定义TheForm ... ???在您实例化Form或为其设置值的代码中,我看不到任何地方.
您可以提供更多代码吗?
I am going to go out on a limb here and say that theForm has not been defined...??? I don''t see anywhere in your code where you are instantiating theForm or setting a value to it.
Can you provide more code?
这篇关于theForm是未定义的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文