coldfiltered
5 Apr 2007, 12:05 AM
Hi,
I'm brand new to Ext and I was just trying out the Introduction to Ext Tutorial. I downloaded and installed the library and demo files okay and got the initial alert box to pop up confirming a successful installation.
In the next tutorial section: Element: The Heart of Ext I added the suggested javascript:
Ext.onReady(function() {
var myDiv = Ext.get('myDiv');
myDiv.highlight();
myDiv.addClass('red');
myDiv.center();
myDiv.setOpacity(.25);
});
and got an error:
'null' is null or not an object.
It seems to be myDiv.highlight(); that triggers it, as commenting it out allows the rest of the script to work.
My Visual Studio 2005 debugging stopped at line 17 of yui-utilities.js, with this section of the line highlighted:
val[i]=_4f.doMethod.call(this,_59,_5a[i],end[i])
the debugging shows end[i] to be the null item.
Setup: Vista Ultimate and IE 7.0.6000.16386.
I'm brand new to Ext and I was just trying out the Introduction to Ext Tutorial. I downloaded and installed the library and demo files okay and got the initial alert box to pop up confirming a successful installation.
In the next tutorial section: Element: The Heart of Ext I added the suggested javascript:
Ext.onReady(function() {
var myDiv = Ext.get('myDiv');
myDiv.highlight();
myDiv.addClass('red');
myDiv.center();
myDiv.setOpacity(.25);
});
and got an error:
'null' is null or not an object.
It seems to be myDiv.highlight(); that triggers it, as commenting it out allows the rest of the script to work.
My Visual Studio 2005 debugging stopped at line 17 of yui-utilities.js, with this section of the line highlighted:
val[i]=_4f.doMethod.call(this,_59,_5a[i],end[i])
the debugging shows end[i] to be the null item.
Setup: Vista Ultimate and IE 7.0.6000.16386.