how to get the innerText of a div just below another object in HTML and Javascript code example Example: change innertext javascript element.innerText = "Hello World";