When you assign something an ID in asp.net such as:
<asp:Label runat="server" ID="mylabel" Text="some text"></asp:Label>
The code behind ID you use to reference that object is mylabel.
However after the site has compiled and is running the ID in the HTML changes to something a bit more abscure
<asp:Label runat="server" ID="ct100_blahblah_what_mylabel" Text="some text"></asp:Label>
And I cannot (don't know how) to reliably predict what it will be to select it with javascript.
Is there a way to ask the server what the ID for that label is at any given moment?
What are some keywords could use to find out more about this phenomenon?