Referência do objeto JavaScript

<p id="myId">This element has an ID</p>
<script>
	element = document.getElementById("myId");
	//The variable "element" now references to the paragraph element
</script>
Bob7012