Re: Document Object
- --- In firstname.lastname@example.org, "-" <iamjang2003@...> wrote:
>named object, and define a variable named object. When I do this, the
> In my external JS file, I use the following code:
> document.getElementById('element').innerHTML = object.property;
> I receive both of the follower errors from JS Lint.
> Implied global: document
> 'document' is undefined.
> I tried several corrective actions including to create an object
code passes validation but cases my page to not
It is a DOM object.