SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to fire the event only on changes of your input use:
$('.s').bind('input', function(){ console.log("search!"); doSearch(); });