#divid(input){ |A|B|あ|い| |A|B|あ|い| } #divid(output){ 出力先 } #js(){{ $(function(){ $("#output").text("開始"); var text = ""; $("#input table tr").each(function(){ $("#output").text("途中"); var tds = array(); $(this).find("td").each(function(){ tds.push($(this).html()); }); text = text + "|"+tds.join("|")+"|¥n"; }); $("#output").html(text); }); }}