How to get the Jquery row ID on single click
- by kumar
var value;
$("#Grid1").click(function(e) {
var row = jQuery(e.target).parent();
value= row.attr("id");
});
var onrowclick = function() {
("#Grid1").click($("#showgrid").load('/Names/Friends/satish/' + value));
};
i am trying to send the value on URL..
when I am giving like this I am not getting the output result...
am I doing this correctly?
is the problem that I am handling click event on same grid two times?