firstChild and Node.lastChild properties You can use the Node. ... How to get the first and last elements inside a parent with vanilla JS.
確定! 回上一頁