PDA

View Full Version : my Ext error in IE



zapatista
10 Aug 2007, 12:12 AM
I am getting the error : 'Expected identifier, string, or number' in IE. I have checked as carefully as I can for an extra comma, and rechecked. I think the problem is with how I am using this event below ;

tree.on('textchange',function(n){
var selectedNode = tree.getSelectionModel().getSelectedNode();
Ext.get('folder-dlg-content').load({ url: "<?php echo $this->getKutuRootUrl();?>/app/admin/widget/foldermanager/save/folderGuid/" + n.id +"/parentGuid/" + selectedNode.id +"/folderTitle/" + n.text,
scripts:true,
}
);
})

i think the error come from the line Ext.get('folder-dlg-content'). btw 'folder-dlg-content' call

<div id='folder-dlg-content' class="inner-tab">
Hello...<br><br><br>
</div>


thanks,

evant
10 Aug 2007, 12:29 AM
Use double quotes for the id:



<div id="folder-dlg-content" class="inner-tab">
Hello...<br><br><br>
</div>