A simple script to get all siblings of an element. - get-siblings.js. ... nodeType == 1 && sibling != elem ). siblings.push( sibling );. return siblings;.
確定! 回上一頁