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 find the lines with the specific text in Linux console Must have for any SFPX solution Top 10 postsNew Posts at the siteHow to find the lines with the specific text in Linux consoleMay 7, 2025 Must have for any SFPX solutionMay 5, 2025 Move multiple lines up and down with Notepad++April 15, 2025 Error 1053 while trying to start the service in .Net Core8April 2, 2025 Learn and explore Azure Storage account for free with AzuriteMarch 29, 2025