how to accecc textboxvalues by js code example
Example 1: Javascript get text input value
var inputValue = document.getElementById("myTextInputID").value;
Example 2: get string from textbox javascript
<input id="word">
var word = document.getElementById("word").value;