I'm building a website that use ExtJS, once I click a button
it calls Ajax to load a html page, and add it to tabpanel as an item.
mainTab.add({
xtype: 'panel',
html: ajaxResponse.responseText
})
But the javascript in that html page does not execute ,
how to solve this problem? Thanks very much!
EDIT It seems I have found it out, any better solution is welcome:
mainTab.add({
html:'<iframe src="'+UrlText+'" frameborder="0" scrolling="auto"></iframe>'
})