How to trigger keypress event with Class name using JavaScript
I am trying to trigger a keypress event when click left mouse button in an input tag with class name. I can do with id but I don't know how to trigger with class name. How can I solve this?…