get the value from id in javascript 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;