Re: Container is not defined

34 views
Skip to first unread message

Daniel LaLiberte

unread,
Oct 16, 2012, 2:42:21 PM10/16/12
to google-c...@googlegroups.com
The previous post you are referring to is https://groups.google.com/forum/#!searchin/google-chart-api/container$20is$20not$20defined/google-chart-api/m61njA4r2FY/elhr7NLDs9gJ

Could you provide a code example of your situation?   There could be several explanations for what you are seeing.  One reason your div might appear to not exist is that it doesn't exist at the time you are trying to access it, if you are somehow trying to access it before that part of the document has been loaded.  Another possibility is that the div gets deleted if you replace the innerHTML of a container.  

dan

On Tuesday, October 16, 2012 1:54:59 PM UTC-4, Devin Crane wrote:
There was a previous post on this, but his div id actually didn't exist. Mine does - in the body tags of index.html. Why isn't it finding it, or could it be something else?

Thanks,
Devin
Reply all
Reply to author
Forward
0 new messages