My question is this , let's say I have made an object:
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.
var myCoolObject = new someObject();
- 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?