"Cannot read property 'xxx' of null"

Posted by Matrym on Stack Overflow See other posts from Stack Overflow or by Matrym
Published on 2010-04-26T07:54:30Z Indexed on 2010/04/26 8:23 UTC
Read the original article Hit count: 249

Filed under:
|
|

I've got a document fragment with children that I want to loop over (when possible). This is causing an error "Cannot read property 'xxx' of null".

How do I test if this will be the case?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about null