I’d like to see all the events fired by an input field as a user interacts with it. This includes stuff like:
- Clicking on it.
- Clicking off it.
- Tabbing into it.
- Tabbing away from it.
- Ctrl+C and Ctrl+V on the keyboard.
- Right click -> Paste.
- Right click -> Cut.
- Right click -> Copy.
- Dragging and dropping text from another application.
- Modifying it with Javascript.
- Modifying it with a debug tool, like Firebug.
I’d like to display it using console.log. Is this possible in Javascript/jQuery, and if so, how do I do it?
That will get you a lot (but not all) of the information on if an event is fired… other than manually coding it like this, I can’t think of any other way to do that.