Javascript getDocumentFromElement

Following this : Javascript getElementFromEvent

You can get a document from an element :

It is compatible in a multiple frame context.

Enjoy

Celogeek

Short URL: http://sck.pm/E3