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 Add new value to $PATH variable in Linux (Debian, CentOS, Ubuntu) Improve Site Quality with Lighthouse Fixing warning that *.zip appears to use backslashes as path separators Top 10 postsNew Posts at the siteAdd new value to $PATH variable in Linux (Debian, CentOS, Ubuntu)April 24, 2024 Improve Site Quality with LighthouseApril 23, 2024 Fixing warning that *.zip appears to use backslashes as path separatorsApril 22, 2024 Fill SQL Column with one of three values according to a Row NumberApril 21, 2024 SharePoint List Template ID ReferenceApril 20, 2024