Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get text which is in input td using jquery

$(function(){
    $("#onpressofabutton").click(function(){
        var data1 = $(this).find("td:eq(0) input[type='text']").val();
        var data2 = $(this).find("td:eq(1) input[type='text']").val();
    });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #text #input #td #jquery
ADD COMMENT
Topic
Name
7+5 =