Ryan Casas
Ryan Casas

Reputation: 666

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 => $('#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?

Upvotes: 1

Views: 2058

Answers (2)

Ryan Casas
Ryan Casas

Reputation: 666

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)

Upvotes: 2

Chandresh M
Chandresh M

Reputation: 3828

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.

Upvotes: 0

Related Questions