Click this or that element in jQuery If you want to set the same action for several elements, you can write IDs of elements separated by comma. This way: $("#controlOne, #controlTwo").click(function () { do_something(); }); 2 September 2016, admin HTML & CSS Tags: frontend, Javascrpt, jQuery Comments: (0) No Comments » No comments yet. RSS feed for comments on this post. TrackBack URL Leave a comment Name (required) Mail (will not be published) (required) Website Δ New posts How to add test data for the development and tests in EF Core How to implement Role-based Authorization in Net Core Web API Copy SharePoint Online list items from one site to another one Top 10 postsNew Posts at the siteHow to add test data for the development and tests in EF CoreMarch 12, 2024 How to implement Role-based Authorization in Net Core Web APIMarch 11, 2024 Copy SharePoint Online list items from one site to another oneMarch 6, 2024 Parse CSV in Microsoft Flow (PowerAutomate)March 1, 2024 T-SQL tips: Replace function exampleFebruary 29, 2024