3c8odq
Last Updated: February 25, 2016
·
8.547K
· chetan_raj

jQuery - How to find if event is triggered or clicked

$(element).click(function(e){   
    e.isTrigger//undefined when the element is clicked
    e.isTrigger //true for $(element).trigger('click');
});

1 Response
Add your response

7267

Geez it should be reversed for easy memorize.

over 1 year ago ·