javascript - The website is https protocol and the src inside the iframe is http protocol and cannot be displayed. Is there any other way to replace the iframe?
高洛峰
高洛峰 2017-05-31 10:41:49
0
1
1039

The website is under https protocol and the src inside the iframe is under http protocol and cannot be displayed. Is there any other way to replace the iframe?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
Peter_Zhu

If you have to make the page asynchronous, you can try something called $.load. It can directly load HTML resources to a certain DOM node and should be migrated from your project. The cost is very low.

$.load("#iframe_box","/index.html");
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!