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
I don't know that this is the correct answer, but the click event handler is called when the user clears the input using the X button.
$('input[type="search"]').click(function(event) {
// This code runs anytime a user clicks on the input,
// including when they clear it using the X button.
})