Re: Element.create(): a proposal for more convenient element creation

On 2/08/11 3:36 PM, João Eiras wrote:
> However, Nodes need a ownerDocument, and that needs to be supplied, even
> if optionally. Doing document.createElement implies the document,
> Element.create does not.

I figure the ownerDocument would be window.document (where the window 
object is the global object that window.Element lives on).

Received on Tuesday, 2 August 2011 03:42:27 UTC