If you want to get the value of the parent's class atribute, do this: myElem.parentNode.className. artcoder August 30, 2014, 12:29pm #3.
確定! 回上一頁