“Cannot read property 'xxx' of null”?

You may want to do the following: if ((documentFragment! == null) && documentFragment. HasOwnProperty('xxx')) { // handle property xxx of documentFragment as required }.

The second half of this test is throwing me an error... if ((documentFragment. FirstChild! == null) && (documentFragment.firstChild.

HasOwnProperty('tagName')) – Matrym Apr 26 '10 at 8:11 @Matrym: Can you try doing alert(typeof documentFragment);. Do you get object or undefined? – Daniel Vassallo Apr 26 '10 at 8:12 Uncaught SyntaxError: Unexpected token { – Matrym Apr 26 '10 at 8:12 it says "Object" – Matrym Apr 26 '10 at 8:13 @Matrym: Oops... I had a missing/extra parenthesis.

Check the updated answer. – Daniel Vassallo Apr 26 '10 at 8:16.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions