This example uses the HTML DOM to assign an "onsearch" event to an input element.
Write something in the search field and press "ENTER".
Note: The onsearch event is not supported in Internet Explorer, Firefox or Opera 12 and earlier versions.