add focusout event to livesearch