JS Autocomplete
document.querySelector('.editButt').addEventListener('click', function(e) {
let tblData = e.target.previousElementSibling;
document.querySelector('#input_box').value = tblData.innerText;
}
Code Cat