I'm curious if there is a complementary event to 'click' that can be used with .addEventListener. My goal is to have a click event empty the search bar when activated, and then return the default text 'Search..' when the user clicks away.
(function(){
var findsearch = document.getElementById("searchbar");
findsearch.addEventListener("click",function(){
this.value = ' ';
}, "false");
}());