Dapatkan Input String JS

document.getElementById('textbox_id').value to get the value of desired box

For example, document.getElementById("searchTxt").value;
Healthy Herring