2015-04-05から1日間の記事一覧
JavaScript で table の行(tr)を入れ替えようと次のように書いたら Node not found っていうエラーが出た。 function swap(a, b) { var table = document.getElementById('table_name'); var clone = table.rows[a].cloneNode(true); table.replaceChild(t…
JavaScript で table の行(tr)を入れ替えようと次のように書いたら Node not found っていうエラーが出た。 function swap(a, b) { var table = document.getElementById('table_name'); var clone = table.rows[a].cloneNode(true); table.replaceChild(t…