Right now on focus the input field simply hides the clear search button. What do I need to add on the focus event to highlight the value in the input field so when a user clicks on the input field the text already in there from the previous search is selected?
$('input.query').on('focus',function(){
$("#searchx").hide();
});
$('input.query').on('blur',function(){
$("#searchx").show();
});