The opener property returns a reference to the window that created the window.For example to get the id of the element present in the parent window, we should use like this
window.opener.document.getElementById('video')
Reference: http://www.w3schools.com/jsref/prop_win_opener.asp
window.opener.document.getElementById('video')
Reference: http://www.w3schools.com/jsref/prop_win_opener.asp
No comments:
Post a Comment