how to get selected text from iframe with javascript?

后端 未结 5 1680
余生分开走
余生分开走 2020-11-29 08:46

 
  

        
5条回答
  •  野性不改
    2020-11-29 08:59

    You can't access data inside an iframe that is from a domain different than yours. This is due to the Same origin policy.

提交回复
热议问题