SyntaxFix
Write A Post
Hire A Developer
Questions
These day the change event is the way!
change
document.getElementById("txtSearch").addEventListener('change', () => document.getElementById("btnSearch").click() );