firebug: how to cd to an iframe

后端 未结 4 1320
被撕碎了的回忆
被撕碎了的回忆 2021-01-29 20:10

I have a facebook canvas application that runs in an iframe. I would like to debug my page in firebug but can not get the javascript to scope to the iframe that is running my a

4条回答
  •  闹比i
    闹比i (楼主)
    2021-01-29 20:25

    Elements can be accessed as follows: window.frames[x].document.getElementById("elementID"); where x would be the frame index and elementID is the element you are pointing to.

提交回复
热议问题