.................. var p_text = document.getElementById("text"); .................. p_text.innerHTML = "Error!"; ..................