SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've created a layout page, when I run the page and look at the JavaScript console, I get a 'parentElement' null error message like this:

Uncaught TypeError: Cannot call method 'parentElement' of null 

There is no other error message, when I compare this to the other layout pages (which I haven't created) this error message is not displayed.

Does anyone know what causes this error message and what I could be possibly be missing in my layout page.



share|improve this question
Can you provide more info? How do you get the element in your javascript code? – Anatoly Mironov Jan 29 '13 at 10:22
Hi,Yes the error message is thrown by a JS file called sp.ui.Rte.js (I file that I have not created). The my page is just a standard Layout page, but I am missing something that this JS is looking for that is causing the error, not sure what I am missing. – stevo Jan 29 '13 at 10:42
Okay, I see. You don't have any custom js code? I have seen this in the standard pages. – Anatoly Mironov Jan 29 '13 at 10:58
Yep, it seems a standard message, not from my JS – stevo Jan 29 '13 at 11:11
Is the error occuring in all browsers? – Anatoly Mironov Jan 29 '13 at 12:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.