|Anyone can help me how to get the dom element? [message #769663]
||Thu, 22 December 2011 13:51
| David Song
Registered: April 2011
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);
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
[Updated on: Thu, 22 December 2011 13:55]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.08620 seconds