PDA

View Full Version : Ext.core.DomHelper.createDom() Error: String contains an invalid character" code: "5"



RhineyII
12 Apr 2011, 12:11 PM
The following code:

Ext.onReady(function(){
var newPanel = new Ext.panel.Panel();
newPanel.dom = Ext.core.DomHelper.createDom(newPanel);
});


Produces an error: String contains an invalid character" code: "5 in Firefox, Chrome, and IE. How does one create a DOM element for a panel without displaying it?