Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not that more complicated. There are after()/before()/closest()/remove(), and a lot of other similar easy to use methods these days.

It's not el.parentNode.insertBefore(new, el) and el.parentNode.removeChild(el) days anymore.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: