I recommending using monitorEvents
. It’s a function provide by the javascript console in both web inspector and firebug that prints out all events that are generated by an element. Here’s an example of how you’d use it:
monitorEvents($("input")[0]);
In your case, both Firefox and Opera generate an input
event when the user selects an item from the autocomplete drop down. In IE7-8 a change
event is produced after the user changes focus. The latest Chrome does generate a similar event.
A detailed browser compatibility chart can be found here:
https://developer.mozilla.org/en-US/docs/Web/Events/input