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 Get the items with the specific tag from the BlobStorage Update the Created Field in SharePoint online with PnP PowerShell Fix the warning 'The value provided to Autocomplete is invalid' for MUI Autocomplete Top 10 postsNew Posts at the siteGet the items with the specific tag from the BlobStorageSeptember 11, 2025 Update the Created Field in SharePoint online with PnP PowerShellSeptember 2, 2025 Fix 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