assign a text value to a query selector javascript code example
Example: javascript querySelector change input value
var element = document.getElementById('element_id');
element.value = 'random_value';
var element = document.getElementById('element_id');
element.value = 'random_value';