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 How to replace deprecated InputLabelProps in MUI 6 MUI DataGrid in SPFX solutions Get available options for Choice SharePoint field with SharePoint REST API Top 10 postsNew Posts at the siteHow to replace deprecated InputLabelProps in MUI 6December 17, 2024 MUI 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