PDA

View Full Version : How to load a url in extjs4.1



leon.wood
31 Aug 2012, 5:58 PM
Ext.getCmp('specific_panel_id').load({
url:'url_containing_scripts.htm',
scripts:true,
params:{
something:else
}
});
works for loading content from URL into a specific panel...
However it does not work in ExtJs 4.x...
Any pointers?

leon.wood
31 Aug 2012, 6:09 PM
I know it ,set "loader:{}," and use
Ext.getCmp('id').getLoader().load({
url:url (http://www.sencha.com/forum/url),
autoLoad:true,
scripts: true
});
will works