when to use document.getelementbyid and document.getAnimations in html code example Example: getelementbyid document.getElementById("someid");