html - Safari - Adding content in iframe with javascript CSS issue -


i'm adding html in iframe:

<div class="parentclass">    <div class="classchild1">block 1 content</div>    <div class="classchild2">block 2 content</div> <div> 

my classchild1 has no css rules defined (but should) , refuses triggered in javascript. tried to:

console.log(myiframecontent.find('.classchild1')); // output 0 

when directly change element dom , add class, css , works fine. since can't find javascript can't manipulate block.

everything working fine classchild2 css defined same .css , got no problem in chrome/ie/firefox.

thanks suggestions


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -