js 获取table tr td内的select 和input text

 $("#TableList tr").each(function () {
                //for (var i = 1; i <= AM_index; i++) {
                _Drop_LocationText = $(this).find("td:first").find("select").val(); //$("#" + "Drop_Location" + K).val();
                _Drop_LogicNetworkText = $(this).children('td').eq(1).find("select").val(); // $("#" + "Drop_LogicNetwork" + K).val();
                _Drop_ProductText = $(this).children('td').eq(2).find("select").val(); // $("#" + "Drop_Product" + K).val();


                _Req_Number = $(this).children('td').eq(3).find("input:text").val(); //GetInputNum(K);

原文地址:https://www.cnblogs.com/jcz1206/p/3621130.html