JohnT
16 Jan 2007, 4:46 PM
As some may know, I am new and jumped head first into developing with Javascript.
My question is this , let's say I have made an object:
var myCoolObject = new someObject();
and within my new object I want to use some (alot) of Jack's stuff. For simplicity's sake, let's say a dialog box.
My Questions:
Are there any scope issues I need to keep in mind?
Is there a best practice for using YUI EXT from within your own classes?
and lastly, should I create YUI EXT objects (like a dialog) from within, or outiside of my class? Or does it matter?
I sure would appreciate anything you can offer. I want to learn the right way, the first time, rather than pick up some bad habits, know what I mean?
Thank you.[/list]
My question is this , let's say I have made an object:
var myCoolObject = new someObject();
and within my new object I want to use some (alot) of Jack's stuff. For simplicity's sake, let's say a dialog box.
My Questions:
Are there any scope issues I need to keep in mind?
Is there a best practice for using YUI EXT from within your own classes?
and lastly, should I create YUI EXT objects (like a dialog) from within, or outiside of my class? Or does it matter?
I sure would appreciate anything you can offer. I want to learn the right way, the first time, rather than pick up some bad habits, know what I mean?
Thank you.[/list]