Want to extract value of iframe src after user goes from one page to another in iframe

I am trying to create a page where you can type in a URL and check the pages responsiveness across all devices. I am doing something extra which can be found on : http://dfcb.github.com/Responsivator/ I want something like this: I have a master page which has 7 iframes corresponding to each devices portrait and landscape views. it could be found at http://sentimentanalysis.comeze.com/responsivator/ what I am trying to do e.g. if iframe 1 goes to page A to page B within the iframe I want to goto page B for other 6 iframes as well. I think it is against same origin policy. I tried exploting onLoad event of iframe but if the src of the iframe changes internally the src using jquery `attr('src')` will not latest value it will give only that src that is set by me in my HTML. I am not sure how to go about this one. I searched SO but I think there is no easy way to do this. But there has to be some way to do this. Can anyone suggest any pointer? I would be grateful.

以上就是Want to extract value of iframe src after user goes from one page to another in iframe的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏