PDA

View Full Version : ajax content import



kojot1234
10 Feb 2011, 8:38 AM
Hello everyone,

I'm trying to import content with scripts inside content.html page but they do not seem to be loaded.

content.html has <srcript src=""></script> tag and its not being pulled in. Could anyone point me out in a right direction what am I doing wrong? script tags are visible after import but are not executed. Thanks.

var newContent = new Ext.Panel({
scroll: 'vertical',
layout: 'card',
html: ""
});

Ext.Ajax.request({
url: content.html,
scope: this,
callback: function(opts, success, response) {
newContent.update(response.responseText, true);
}
});

kojot1234
11 Feb 2011, 6:42 AM
anyone?

kojot1234
14 Feb 2011, 11:38 AM
bump...

aonjavadev
14 Feb 2011, 3:14 PM
What does Bump mean?