标签:arc cti ext text arch [] var 字符 pop
var t= [];
var s = "";
$(‘#searchtb tr‘).find(‘td‘).each(function () {
t.push($(this).text());
s = t.join(""); //转换为字符串
t = s.split(‘:‘); //转换为数组
t.pop(); //删除数组最后一个元素
s = t.join("") + ":"; //转换为字符串
});
标签:arc cti ext text arch [] var 字符 pop
原文地址:http://www.cnblogs.com/xuemoing/p/6110829.html