Access a dynamically created element
Posted on 2011-02-14
We need to access dynamically created elements on the client side. We would like to do that by using their IDs.
Currently, we can achieve this via the Sys.Application._components node.
Any other viable suggestions?
$Find can be used but we don't know the ID of the elements.
getElementsByTagName wouldn't yield the right names since the objects themselves aren't rendered (CollapsedPanelExtender).
What other means are there to access the right ID other than using Sys.Application.getComponents() ????
Thanks a bunch.