JavaScript code in iframe

前端 未结 3 749
无人及你
无人及你 2021-01-27 16:50

I need to run JavaScript code in iframe. But script with id \"us\" loaded after creating iframe. How to run this javascript in iframe?

    
    

if you render that page in firefox, and then inspect the source in firebug, you'll see:


    
    
        Some stuff here
        
    

This is happening because the browser isn't expecting to see the code inline between the iframe tags.

提交回复
热议问题