In HTML5 there is a new input type, \'search\'. On most browser it\'s just remain to a simple \'text\' input, but for webkit based browsers, it adds a little cross to reset
try this hope help you
$("input[name=search-mini]").on("search", function() { //do something });