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 Fix the warning 'The value provided to Autocomplete is invalid' for MUI Autocomplete Create 7Z archive with password in Command line Modify permissions to a Directory or Files with Net Top 10 postsNew Posts at the siteFix the warning 'The value provided to Autocomplete is invalid' for MUI AutocompleteAugust 25, 2025 Create 7Z archive with password in Command lineAugust 18, 2025 Modify permissions to a Directory or Files with NetAugust 12, 2025 Update Author field of the list Item in SharePoint online with C# appAugust 7, 2025 Create backup of Azure SQL databaseAugust 6, 2025