[thelist] JS Problem - IE throwing 'null or not an object' error
David Zhou
david at nodnod.net
Wed May 14 21:43:12 CDT 2008
On May 14, 2008, at 10:40 PM, Blake wrote:
> The error in IEs error console says that 'style' is null or not an
> object. From my exploration it seems that the
> getShoppingDescriptions() function is returning an object but it's
> length property is 0, so I assume no LI elements are being found. The
> LIs are not direct descendants of #description, but I don't see why
> that would make a difference because I have a similar situation in
> another script that works fine.
Are you making sure that you call getShoppingDescriptions() only after
the DOM has finished loading?
More information about the thelist
mailing list