function el(id) return document.getElementById(id); code example Example: getelementbyid document.getElementById("someid");