开发者

Access denied when accessing properties from inside an iframe

In my HTML page I have an iframe loading an external site. I want to access the properties inside the frame. I am getting an access denied error. How do I r开发者_开发知识库esolve this?


You can't access data from external sites when you are working client side. This would be a security risk.

To work around, have your server grab the data from the remote site instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜