parent は id が child の要素を持っているためこのような結果となります。 parentNodeで親ノードを取得する. parentNode はNodeが持つプロパティです。
確定! 回上一頁