queryselector edit data 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';