Thursday, November 11, 2010

Fredericton House Auctions

Get the id of an item using ASP.NET

to get the id of an element by using jQuery we must do the following:

$ ("a"). Click (function () {
var oid = $ (this). attr ("id");
});

In the former case we get \u0026lt;a> the id of the element that was selected, as this useful?, in the following example in a gridview generates a link Dynamically, this is id the ID of the row, click on the link to get the ID and query information related to this code from the client side, in this case opens a popup with the details of the consultation

0 comments:

Post a Comment