JQuery Selector for ASP.NET server side control
I can't remember how many times I googled over this small snippet. Better save it somewhere we all can access.
$('#<%=ServerSideControl.ClientID%>')will find an element with the
idattribute as supplied by the
ClientIDproperty in ASP.Net.
$("[id$=ServerSideControl]")will find an element with an
idattribute that ends with
lblName, for example