script

Tuesday, September 25, 2012

how to get element of iframe inside parent frame?

window.opener.document.getElementById(ID_OF_IFRAME).contentDocument.getElementById(ID_OF_ELEMENT_INSIDE_IFRAME)


if  "contentDocument" dont work then try with "contentWindow.document"

:)

No comments:

Post a Comment