ionutb - tech & more
Friday, May 18, 2012
Javascript: get element by id inside iframe (from parent)
From parent window, get an element inside an iframe by id:
document.getElementById('iframe-id')
.contentWindow.document.getElementById('div-id');
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment