jquery get clicked element

In our example we have a menu toggle button which shows/hides menu item list. // Check to see if the list is currently displayed. Syntax: $(e.target)- Contains DOM element user clicked on. $('a.pagerlink').click(function() Get the ID of clicked button using jQuery. Learn more about our AWS Managed Services, How To Detect Which Element Was Clicked, Using jQuery, Allowed HTML tags:

Leave a Reply

Your email address will not be published. Required fields are marked *