jquery click event not working on first click,
- by kumar
$("#table").click(function(e) {
var row = jQuery(e.target || e.srcElement).parent();
$('#tabletr').bind('click', show);
name= row.att("id");
});
I am not getting the id value very first time i click on the row?
second time I am getting fine?
can anyone tell me why its happening like this?