JS Chrome top.document
- by stevewk10
What is Chrome's equivalent of 'top.document', valid in both FF and IE8.
In Chrome, 'top' is valid, top.length returns 2 (frames)...as it should. But top.document returns 'undefined'. Needed to get an element. top.document.getElementById(id) works perfectly in both FF and IE8.
Thanks in advance,
swk