document.getElementById(this) code example Example: js getelementbyid document.getElementById("some_id");