Obtenha a string de entrada js
document.getElementById('textbox_id').value to get the value of desired box
For example, document.getElementById("searchTxt").value;
Healthy Herring