| Anyone can help me how to get the dom element? [message #769663] |
Thu, 22 December 2011 08:51 |
Song David Messages: 134 Registered: April 2011 |
Senior Member |
|
|
Hi all:
I created a post why does the document.getElementById(this._id) return null? below, but nobody give me a reply! Obviously the customwidget is created, and then I try to find the dom to write a html code into it, but I get a null value.
I invoke the custome widget like this:
CustomWidget cw = new CustomWidget(parent);
cw.setChatData(...);
but when I test it, I get a null error:
#03091456 chart223.render() Error >> Unable to find the container DOM element.
But the dom element exists obviously (it can be found through firebug in Firefox )
Anyone can help me please? Thank you very much
David
[Updated on: Thu, 22 December 2011 08:55] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.06250 seconds