Obtenha string da textbox javascript
<input id="word">
var word = document.getElementById("word").value;
Aqua
<input id="word">
var word = document.getElementById("word").value;