Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/457.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/77.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript jquery Ie异常';节点';为null或不是$(element.trigger(';someevent';)上的对象_Javascript_Jquery_Javascript Events - Fatal编程技术网

Javascript jquery Ie异常';节点';为null或不是$(element.trigger(';someevent';)上的对象

Javascript jquery Ie异常';节点';为null或不是$(element.trigger(';someevent';)上的对象,javascript,jquery,javascript-events,Javascript,Jquery,Javascript Events,$('body')。触发器(“receivedata”)它在Firefox、Chrome、Safari上运行良好 然后我来到IE向我发送此消息: “节点”为空或不是对象 我的代码: try { var tempId = data.substring(0, 4); if (ServiceCallerObject.TemplateId == tempId) { UtillsObject.WriteToLog('Service System Action Request Data

$('body')。触发器(“receivedata”)它在Firefox、Chrome、Safari上运行良好
然后我来到IE向我发送此消息:
“节点”为空或不是对象

我的代码:

try {

  var tempId = data.substring(0, 4);

  if (ServiceCallerObject.TemplateId == tempId) {
    UtillsObject.WriteToLog('Service System Action Request Data On Template Id:' + ServiceCallerObject.TemplateId + ' Recived Message:' + data, 'debug');
    ServiceCallerObject.MessageData = ServiceCallerObject._doSuccessOutputParser(ServiceCallerObject.TemplateId, data);

    UtillsObject.WriteToLog('Service System Action Param Converted Into Objected', 'info');
    $('body').trigger("ReciveData");
  }
} catch (e) {
  ServiceCallerObject.IsCallActive = false;
  ServiceCallerObject.IsStillWaitForCall = false;
  UtillsObject.WriteToLog('Service System Action Exeption: {MSG: ' + e.message + ' ,File:' + e.fileName + ' ,Line:' + e.lineNumber + ' ,Type:' + e.name + ' }', 'Debug');
  UtillsObject.WriteToLog('Service System Action Request Error In Data On Template Id:' + ServiceCallerObject.TemplateId + ' Recived Message:' + data, 'error');
  $('body').trigger("ReciveDataError");
}

如何修复此问题以使我的应用程序正常工作?

能否发布
receiveDataError
事件的处理程序?问题可能就在那里。它的服装事件它发生在不同的文件中与ReciveData相同,但它发生的原因是触发它自己刚刚发现它发生的文件may u可以帮助更多的网页错误详细信息:消息:“nodes”为空或不是对象行:429 Char:6 Code:0 URI:刚刚找到什么原因看到我打开的bug了吗发现了一个修复,当您不关闭模板上的标记时,它会发生