JavaScript establece el valor del campo de entrada de entrada
document.getElementById("myInputID").value = "My Value"; //set value on myInputID
Grepper
document.getElementById("myInputID").value = "My Value"; //set value on myInputID
var inputValue = document.getElementById("myTextInputID").value;
document.getElementById("ID").value = "Tamer Jarrar";
<input type="text" value="" onchange="updateInput(this.value)" />
<script>
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}
</script>
document.getElementById("yourInputID").style.color = 'the color of your choice';
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}