Home › Forums › JavaScript › insertAfter › Reply To: insertAfter
September 29, 2014 at 8:12 pm
#185010
Participant
read about previousSibling
/ nextSibling
.
If it has neither (i.e., is an only child), you can use the parentElement
.