var inputField = document.getElementById("inputField"); inputField.style.backgroundColor = "green";