JavaScript QuerySelector mengubah nilai input

var element = document.getElementById('element_id');
element.value = 'random_value';
Sore Sandpiper