Hi all..
I got an asp:Image in my server-markup like this:
<asp:Image ID="Img1" runat="server"/>
Now, I want to find this img in my javascript, but seem to run into the problem of ASP.Net obfuscating my names. The client-markup will look something like this:
<img id="ctl00_Content_Img1"/>
I imagine this is because everything is inside a form-element called 'Content', which is quite normal I guess? :)
Any pointers on how to access this from javascript?
[EDIT] I was thinking if there's an easy way to change my javascript "servertime" to search for the obfuscated id ?