js how to retrieve the value out of an html using id code example
Example: js get id value
var element = document.getElementById("YourElementId");
var value_element = document.getElementById("YourElementId").value;
var element = document.getElementById("YourElementId");
var value_element = document.getElementById("YourElementId").value;