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
You can listen for the "input" event too, this is more generic than "search" event but still catches the reset option.