Is it possible to determine whether a given JavaScript action has been initiated by user? For instance I want to know whether a link was clicked by user or via jQuery fire event method?
5,92772 gold badges64 silver badges135 bronze badges
event.which will be undefined if the event is triggered with code.
Sign up to request clarification or add additional context in comments.
Comments
Explore related questions
See similar questions with these tags.
lang-js