Element.nextSibling

Returns the next or previous sibling matching the tagName filter. The default filter of null will return the first sibling it sees, even if it is a comment or text node, or anything else. A filter of "*" will match any tag with a name. Otherwise, the string must match the tagName of the sibling you want to find.

class Element
@property
nextSibling
(
string tagName = null
)
Suggestion Box / Bug Report