hendricd,
You're saying that the accepted method for 1.1.1 is to include the code in the response page... I'm trying to do that and it doesn't seem like the JS is doing anything.
Code:
<html>
<head>
<title></title>
</head>
<body>
<script>
alert('ding ding');
</script>
hello!
</body>
</html>
As the response loads the hello message, but does not display an alert.
I'm using the following code to load the content:
Code:
layout.add('center', new Ext.ContentPanel(thisID, {
title: accountID,
autoCreate: true,
closable: true,
url: 'pages/account.cfm',
params: {
accountID: accountID
},
scripts: true,
loadOnce: true,
fitToFrame: true
}));
Am I doing something wrong when I add the tab?