Selecting an element/object in an IFRAME

I recently needed to get an object from a child IFRAME from its parent. Without using any helper libraries, the easiest way to do this is with the following:

View embedded code on gist.github.com


WR
Wayne Robinson
Search the journal
47 entries · full-text · keyboard-first