This example uses the addEventListener() method to attach a "search" event to an input element.

Write something in the search field and press "ENTER".

Note: The search event is not supported in Internet Explorer, Firefox or Opera 12 and earlier versions.