bootstrap下怎么获取table所有行数据

2025-05-17 09:51:56
推荐回答(2个)
回答(1):

代码如下:
$("table input[type='text']").each(function(){
alert($(this).val());
});

回答(2):

$("table input[type='text']").each(function(){
alert($(this).val());
});