Hi, how to execute scripts inside loaded html content. Is the scripts:true option in loader still available in extjs 4.
I'd like to add Panel to TabPanel with this function. There is a bit of javascript inside example.html but it it doesn't execute

addTab: function(url){
                title: 'Ajax Tab', 
                loader: {
                    url: 'example.html',
                    contentType: 'html',
                    loadMask: true,
                    autoLoad: true,
                    scripts: true

What I'm doing wrong. Thanks for any help.