how to add placeholder in input element via javascript code example
Example: javascript add placeholder to input
document.getElementById("myText").placeholder = "Type name here..";
document.getElementById("myText").placeholder = "Type name here..";