I have the following div structure,
<div id="fancybox-content">
<iframe....>
<html>
<body>
<div class="main">
<div id="adminheader">...</div>
<div id="admininner">
<div class="admin-inner-bg">
<div class="left">-------</div>
</div>
</div>
</div>
</body>
</html>
</iframe>
</div>
how to hide the div which has the class left.
Kindly help.
if the content of iframe is from the same domain you can do
add id to your iframe
and access the
divwithclassleft aselse if the contents of the iframe are from a different domain you have to create a server side proxy
Edit(s)
you can try the following
if that didn’t work wrap the code in
this way the code will execute when the iframe is finished loading