getElementById on element within an iframe

前端 未结 4 1168
天命终不由人
天命终不由人 2020-12-05 16:33

My current code works on elements outside of an iframe. How should I approach fetching elements within an iframe using getElementById? My end goal is to write text within th

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-05 17:29

    Also another way would be to get url of that iframe and load that into your browser.

    For me accepted solution is giving "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" error.

提交回复
热议问题