I\'m trying to find the best way to deal with the way that ASP.NET prepends a value to any element that is created with runat=\"server\", without having to reso
runat=\"server\"
You can use the jQuery ends with selector:
$('input[id$="myServerId"]')
But remember, that kind of selector is a lot slower than selecting directly with the id with <%= id.ClientID %>.
<%= id.ClientID %>
http://jsperf.com/id-vs-ends-with