Calling a parent window function from an iframe

后端 未结 10 2385
悲&欢浪女
悲&欢浪女 2020-11-22 01:43

I want to call a parent window JavaScript function from an iframe.



&         


        
10条回答
  •  自闭症患者
    2020-11-22 02:36

    parent.abc() will only work on same domain due to security purposes. i tried this workaround and mine worked perfectly.

    
        
    
    
        
    
    

    Hope this helps. :)

提交回复
热议问题