JavaScript Otwórz następny element DOM

document.getElementById('foo2').nextSibling;
Friendly Hawk