How to get the Jquery row ID on single click

Posted by kumar on Stack Overflow See other posts from Stack Overflow or by kumar
Published on 2010-04-28T20:08:19Z Indexed on 2010/04/28 20:17 UTC
Read the original article Hit count: 202

Filed under:
 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?

© Stack Overflow or respective owner

Related posts about jQuery