Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js autocomplete

document.querySelector('.editButt').addEventListener('click', function(e) {
let tblData = e.target.previousElementSibling;
document.querySelector('#input_box').value = tblData.innerText;
}
 
PREVIOUS NEXT
Tagged: #js #autocomplete
ADD COMMENT
Topic
Name
8+3 =