I have an element on my page.
<asp:Button ID="buttonToFind" runat="server" OnClick="SomeProcess" />
In javascript, I am trying to find this control using:
document.getElementById("buttonToFind");
However, he cannot find control. I understand that the asp: Button changes to an input element? This entry has a new identifier that contains the original identifier, but with a lot of extra characters, so I can not find the original identifier on the page?
Is it correct?
This is also given, how would I like to specify the correct identifier for the search?
source
share