Set the value of an input field using javascript document.getElementById("myid").value = "My value"; how to set the value of text input field using javascript,set value of form field in javascript,set the value of a input field with javascript,set the value