to get value from the textbox javascript code example
Example 1: Javascript get text input value
var inputValue = document.getElementById("myTextInputID").value;
Example 2: how to get the value of a textbox in javascript
let link = document.getElementById("link_box").value
console.log(link)
document.getElementById("link_box").value = "";