--- In email@example.com
, "-" <iamjang2003@...> wrote:
> 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
named object, and define a variable named object. When I do this, the
code passes validation but cases my page to not
> render in Fire Fox. Didn't check it in IE yet.
It is a DOM object.