Check to see if function triggered by an event


/ Published in: jQuery
Save to your folder(s)

Rather that using $(element).trigger('click'), check to see if execute has come from an element rather than directly.

URL: http://jqfundamentals.com/book/index.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.