Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

input type search clear event

document.getElementById('searchInput').addEventListener('input', (e) => {
  console.log(`Input value: "${e.currentTarget.value}"`);
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #input #type #search #clear #event
ADD COMMENT
Topic
Name
4+5 =