How would you set the default value of a form text field in JavaScript?
If you use ID then you have direct access to input in JS global scope
myInput.value = 'default_value'