急救,高手,Jquery easyui不能觸發後臺事件

康少_小贱 2012-04-11 09:41:15
Microsoft JScript runtime error: Unable to set value of the property 'value': object is null or undefined

var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}

是使用jquery easyui layout 框架,導致不能觸發dropdownlist selectindexchange事件
我在前臺寫了一個dropdownlist onchange,也有服務器事件selectindexchange,不能觸發selectindexchagne事件,onchange事件會報上面的js runtime error錯誤。
...全文
228 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

87,922

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧