take string input in javascript code example
Example: get input string js
document.getElementById('textbox_id').value to get the value of desired box
For example, document.getElementById("searchTxt").value;
document.getElementById('textbox_id').value to get the value of desired box
For example, document.getElementById("searchTxt").value;