Saturday, March 24, 2012

JQuery - locating ASP.NET elements on web page

That's the way of locating ASP.NET elements with JQuery:


The ASP.NET element (TextBox this example):

<asp:TextBox ID="my_aspnet_element" runat="server">

And the JQuery to find this element on page:

$('#<%=my_aspnet_element.ClientID%>').do_stuff{()};

No comments:

Post a Comment