PDA

View Full Version : container is null



aicos
27 Oct 2009, 12:25 PM
Hi

I'm getting the following error with just a plain startup by including the scripts:

container is null
/vetro/wp-content/themes/vetro/extjs/ext-all-debug.js
Line 23421

The above error is from Firefox 3.5 but occurs in all browsers. I am running some other js frameworks, but removing them has no affect.

Here is the site:
http://bit.ly/1Bs2nW

Thanks in advance.

VinylFox
27 Oct 2009, 1:52 PM
An element with the ID 'calendar' needs to exist in your document.


myDP.render('calendar');

aicos
28 Oct 2009, 2:57 AM
So simple! I've moved that script to the page that shows that element.

Many thanks.