开发者

parse html data from iframe in anoter domain

Hi i have an application in http://abc.def.aspx and I want to parse the contents (basically a report) existing in http://uvw.xyz.html . I have created an iframe in def.aspx page but it gives me permission error. I just want to parse the html content to allow开发者_如何学Go new sorting features to the page. Can anyone point me to the right direction please


You cannot access the iframe for security reasons (if its a different domain)

The only solution I can suggest is if you have server side logic, you can go get the html of the different domain and parse the content on the server first.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜