Answers for "how to add placeholder in form with javascript"

2

javascript add placeholder to input

document.getElementById("myText").placeholder = "Type name here..";
Posted by: Guest on March-17-2021

Code answers related to "how to add placeholder in form with javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language