【发布时间】:2012-03-13 08:24:17
【问题描述】:
我在 IE7 和 IE8 兼容模式下遇到了 jQuery BBQ 的问题。
history_set = function( hash, history_hash )
var iframe_doc = iframe.document, //this is the line that the error reports
domain = $.fn[ str_hashchange ].domain;`
我在上面标记的行上收到“拒绝访问”。
我听说这可能是由于 iframe 存在域问题,所以我设置了
document.domain = "mydomain.com";
但仍然发现问题。
帮助?
【问题讨论】:
标签: jquery hash hashchange jquery-bbq