这是拼table的代码
for ( var i = 0; i < totalCount; i++) {
var prodHtml = "";
prodHtml +="
";
prodHtml +=" | ";
prodHtml +=" "+response.data.cycleMaps[i].prodCode+" | ";
prodHtml +=" "+response.data.cycleMaps[i].prodName+" | ";
prodHtml +=" "+response.data.cycleMaps[i].price+" | ";
prodHtml +=" "+response.data.cycleMaps[i].prodType+" | ";
prodHtml +=" "+response.data.cycleMaps[i].backFlag+" | ";
prodHtml +=" "+response.data.cycleMaps[i].custodyFlag+" | ";
prodHtml +=" | ";
prodHtml += "
";
$('#selectedProds').append(prodHtml);
}
这是点击下一步按钮时候的方法:
function xiayibu(){
需要获取到上面table中checkbox选中的行的值,并再使用上面的方法在另一个页面中重新显示一遍
}