PDA

View Full Version : how to examine dom is null or not?



nigde51
17 Dec 2013, 4:32 AM
i work on making charts with ajax requests. when i click button, a tab is occured,and tab is filled with a chart. But if i close this tab,after then i click the button again i show this error message:

TypeError: this.dom is undefined






this.dom.querySelector('#'+Ext.escapeId(id));




how can i solve this problem?:-?

scottmartin
17 Dec 2013, 6:36 AM
Please show your code.
Are you sure you are not destroying your chart? Are you using hard id's