Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/75.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中工作,但在所有其他浏览器中工作_Javascript_Jquery_Internet Explorer - Fatal编程技术网

Javascript Jquery代码不在IE中工作,但在所有其他浏览器中工作

Javascript Jquery代码不在IE中工作,但在所有其他浏览器中工作,javascript,jquery,internet-explorer,Javascript,Jquery,Internet Explorer,有人知道为什么这个代码在IE中不起作用吗?适用于所有其他浏览器 jQuery(document).ready(function($) { $("#rss-east").rss("http://example.com/rss/waittime_east_rss.php", { ssl: true, entryTemplate:'{title}' }), $("#rss-west").rss("http://example.com/rss/waittime_west_

有人知道为什么这个代码在IE中不起作用吗?适用于所有其他浏览器

jQuery(document).ready(function($) {
  $("#rss-east").rss("http://example.com/rss/waittime_east_rss.php",
  {
    ssl: true,
    entryTemplate:'{title}'
  }),
  $("#rss-west").rss("http://example.com/rss/waittime_west_rss.php",
  {
    ssl: true,
    entryTemplate:'{title}'
  })
})

最终与另一个jquery库发生冲突。感谢大家的帮助和建议。

定义“不工作”。是否存在任何控制台错误?没有相关的控制台错误。如果您正在使用ssl,那么此代码将使用名为jquery rss的jquery实用程序。它不应该通过https://或just/……您还没有告诉我们它在IE中的失败之处(定义“不工作”)。另外,这两个id是在html中引用的div还是什么?你能显示这个代码的html和模板吗?