Calling a parent window function from an iframe

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

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



&         


        
10条回答
  •  日久生厌
    2020-11-22 02:25

    Call Me 
    

    See window.parent

    Returns a reference to the parent of the current window or subframe.

    If a window does not have a parent, its parent property is a reference to itself.

    When a window is loaded in an