views:

1000

answers:

4

In my webapplication I hide an iframe using jquery hide() function. Surprisingly firefox reload the content of iframe when the iframe is hidden. Is this a known problem? Is there a workaround? I also tried to hide the iframe setting css style display to 'none'. Same result.

The script work as expected in opera.

I'm using firefox 3.5.1

+1  A: 

Don't know about that bug, but one possible solution is to set height and width to 0px instead, maybe?

peirix
of course, I was considering to "hide" the iframe in some other ways.I've published the question to know if there is a "cleaner" workaround or if it is a bug
Paolo Chiodi
A: 

Hi,

I also have the same issue. Anyone found a workaround? A related problem is that firefox keeps on reloading the hidden iframe ??


hi peirix, height 0px works!!!

A: 

Same here ! The source is reloaded two or three times somtimes ! I don't understand this...

LoSTxMiND
A: 
syberkitten