Hello.
I asked such a question. Ext JS has a method Ext.getCmp('componentId') . It returns a component object, which is an object of a class (function). Given that it does not take an HTML element by its ID, it is actually an object. Well, here's the question:
How does this method work? Or how can I retrieve created objects by their ID? Any ideas and guesses.
PS:
A small clarification: the method retrieves by ID even those elements that are inside other objects (functions) of different nesting and of different types (even those that were created this way: var elem = new My.Element() ).