I have an iframe with id="myframe" that has another source file from the same server
<iframe id="myframe" src="referencia.php">
</iframe>
In reference.php I have a div with id="box" that I want that when it opens directly the php reference file is visible, but that "myframe" does not appear. I have tried with jquery the following but it has not worked for me
$('#myframe').$('#cuadro').css({'display':'none'});
or
$('#myframe').contains('#cuadro').css({'display':'none'});