$('iframe').css('visibility','hidden') not working in Google chrome
I know this is a bit dated, but I just ran into the same problem. My solution was
css( 'opacity', 0 )
There are issues with actually making iframes invisible (i.e. using visibility:hidden
or display:none
).
But you can make them disappear by being small enough
$('ul li').find('iframe').css({"height":"0", "width":"0", "border":"none"});