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 FrontEnd 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 MUI DataGrid in SPFX solutions Get available options for Choice SharePoint field with SharePoint REST API 5 steps of how to add and use AutoMapper in .Net Core project Top 10 postsNew Posts at the siteMUI DataGrid in SPFX solutionsSeptember 17, 2024 Get available options for Choice SharePoint field with SharePoint REST APISeptember 4, 2024 5 steps of how to add and use AutoMapper in .Net Core projectAugust 31, 2024 How to insert N strings of text to each row of the existing tableAugust 30, 2024 Effective join of array of objects with filtering by condition into a stringAugust 29, 2024