I REALLY need to know how to target keyboard events in the contact form 7 input fields

I am just trying to be able to target keyboard events on contact form 7 but since input fields in contact form 7 are created differently from how they are created in HTML, I have no clue how to target any events or if it is even possible. There also does not seem to be any documentation on this that I can find.

Here is an exmple of what I wish would work:

[text* first-name class:first-name onkeyup=”MyFunction()”]

obviously, this does not work. So what will? Is there a way? Thank you in advance.


Source: stackoverflow-javascript