src/aria/utils/Dom.js
function (domElt, count) {
            if (count == null) {
                count = 1;
            }
            while (domElt && count > 0) {
                domElt = domElt.nextSibling;
                if (domElt && domElt.nodeType == 1) {
                    count--;
                }
            }
            return domElt;
        }
function (domElt, count) {
            if (count == null) {
                count = 1;
            }
            while (domElt && count > 0) {
                domElt = domElt.nextSibling;
                if (domElt && domElt.nodeType == 1) {
                    count--;
                }
            }
            return domElt;
        }
function ( domElt , count ) { if ( count == null ) { count = 1 ; } while ( domElt && count > 0 ) { domElt = domElt . nextSibling ; if ( domElt && domElt . nodeType == 1 ) { count -- ; } } return domElt ; }
Get one of the elements in the DOM which follows the given DOM element.
@param {HTMLElement} domElt reference DOM element
@param {Number} count [optional, default: 1], number of the following DOM element (1 for the immediately
following DOM element)
@return {HTMLElement}
Get one of the elements in the DOM which follows the given DOM element .