标签:++ substr str tag getch get substring etc for
var rows = $(‘#dg‘).datagrid(‘getChecked‘);
var ids = ‘‘;
for (var i = 0; i < rows.length; i++) {
ids += rows[i].id + ‘,‘;
}
ids = ids.substring(0, ids.length - 1);
标签:++ substr str tag getch get substring etc for
原文地址:http://www.cnblogs.com/cuijinlong/p/6230088.html