how to get element id by name 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;