Duh, I just answered my own question. In IE, the .doc property always
points the the window document. I just never noticed before, because
until now I was always looking for a specfic element with a unique ID.
Isn't that why "images[0]" is a no-no in DynAPI2? I think I remember
that from awhile back.
In any case, FYI: to get the links and images in loadpanel in IE5, after
the external content is loaded:
links = loadpanel.elm.all.tags("a");
images = loadpanel.elm.all.tags("img");
Scott Andrew LePera wrote:
>
> Okay, maybe not bizarre, but I can't figure it out.
>
> It seems that when using a loadpanel in IE5, the loading does something
> weird to the .doc property of the loadpanel. .doc no longer points to
> the loadpanel element but instead to the top-level document object in
> the browser. Has anyone else noticed this behavior? I'm working on a
> patch that I think will help solve this.
>
> --
> scott andrew lepera
> -----------------------------------
> web stuff: www.scottandrew.com
> music stuff: www.walkingbirds.com
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
--
scott andrew lepera
-----------------------------------
web stuff: www.scottandrew.com
music stuff: www.walkingbirds.com
|