here is my code:
New Document
I think its because the code is executed BEFORE the list is actually added to the document structure. Encapsulate it in a window.onload handler like this:
... ...
Lg warappa