Thursday, January 15, 2015

jquery How can I get the value of a textbox in the current HTML table row?

$('.myLink').click(function(e){
   e.preventDefault();
   var val = $(this).closest('tr').find('.NameClass').val();
   // var val = $(this).parent().prev().find('.NameClass').val();
});

No comments:

Post a Comment