element taking reference javascript code example Example: javascript dom elements document.GetElementById("Id").innerHTML = "Text..."