javascript get value id code example
Example 1: getelementbyid
document.getElementById("someid");
Example 2: Javascript get text input value
var inputValue = document.getElementById("myTextInputID").value;
document.getElementById("someid");
var inputValue = document.getElementById("myTextInputID").value;