document.getElementById('container') first code example Example: getelementbyid document.getElementById("someid");