Accessing and binding events to an ASP.NET Grid view using Jquery

Posted by Sayem Ahmed on Stack Overflow See other posts from Stack Overflow or by Sayem Ahmed
Published on 2010-03-23T11:43:11Z Indexed on 2010/03/23 11:53 UTC
Read the original article Hit count: 368

Filed under:
|

I have an ASP page which displays a text box when it loads. It takes an input number, send it to the server through post back, and then displays some record in a grid view. After a number is input into the box, the server fetches some data from a database and add records to the grid view. It also contains a link column, whose URL is set to "#", so that the page isn't redirected when it is clicked.

Now I want to bind a jquery "click" event to that link. How can I do that ? I have tried that to do myself but failed, because it is not available when the DOM is loaded (since it only contains rows when a number is input through the box), and is being modified through ASP.NET Ajax post back.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about jQuery