开发者

It doesn't work properly on iframes with Firefox, why?

This is my first question.

I have a page for image upload on my website. I made an <iframe> to avoid the whole page to refresh, and I'm using jQuery. When I tested it in Firefox, Firebug returns me two errors:

c.defaultView.getComputedStyle(h, null) is null
$ is not defined =&g开发者_如何学JAVAt; $('#omega').hide(); 

And it is not working. But when I tested it in other browsers, like IE5, IE6, IE7, IE9 and Opera, it works perfectly.

Why it is not working on Firefox?


The final solution was to update jQuery to latest version.

This is a bug that was fixed in version 1.6.1 (http://blog.jquery.com/2011/05/12/jquery-1-6-1-released/, item #8763)


have you checked correctly that there is no jQuery conflicting..? type of error what you receiving are most probably by conflicting of Jquery.

you just need to check it out..

Thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜