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 Error 1053 while trying to start the service in .Net Core8 Learn and explore Azure Storage account for free with Azurite Vite vs Create-react-app Top 10 postsNew Posts at the siteError 1053 while trying to start the service in .Net Core8April 2, 2025 Learn and explore Azure Storage account for free with AzuriteMarch 29, 2025 Vite vs Create-react-appMarch 17, 2025 Hotkeys to transform text to UPPERCASE or to LOWERCASE in Visual Studio and Visual Studio CodeMarch 4, 2025 How to fix error WSL (12 - Relay) ERROR: CreateProcessParseCommon in Windows 11February 28, 2025