How do I load a webpage inside a div using Javascript without IFRAME and JQuery?

后端 未结 4 917
时光说笑
时光说笑 2021-01-16 01:00

I need to load an external webpage into a div. I don\'t want to use an iFrame. And I want this done with plain Javascript. I\'m not sure how to go about it.

4条回答
  •  太阳男子
    2021-01-16 01:45

    You don't even need javascript-

    but the same restrictions apply as for iframe inclusion of different domains.

    
    
    
    
    test page
    
    
    
    

提交回复
热议问题