Hi, I have a simple iframe in a html page that loads a local html page.
I would like hide all images in this iframe-page (that working for Firefox/IE6-7 at least). And so I wrote this code: // this code gets correctly frameDocument for IE 6-7 and Firefox var frame = document.getElementById("myframe"); var frameDocument = (frame.contentWindow || frame.contentDocument); if (frameDocument.document) frameDocument = frameDocument.document; // not working $(frameDocument).("//img").hide(); last row returns (via Firebug) this error: "XML filtering predicate operator called on incompatible Object" Have you any idea how to fix it (for Firefox and IE 6-7 at least)? Thanks, Julio