accessing a component using id

can i access a component defined within a ready function outside that using its id?

can i access a component defined within a ready function outside that using its id?

Yes, you can if $$(id) will be called after the component is created. However, the following won’t work:

[code]

[/code]

In this case, $$(“viewId”) is called befere dhx.ready handler is called (before the view is created).