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 My case of crashing the laptop with the connected external monitor Fix error no such table: "pragma_table_list" in DBeaver on opening the tables of SQLite database Problems with Datetime transform with SmartFormat for Net (C#) Top 10 postsNew Posts at the siteMy case of crashing the laptop with the connected external monitorFebruary 20, 2025 Fix error no such table: "pragma_table_list" in DBeaver on opening the tables of SQLite databaseFebruary 9, 2025 Problems with Datetime transform with SmartFormat for Net (C#)February 5, 2025 Fix the error in loading PFX certificate in Azure service appJanuary 29, 2025 How to replace deprecated InputLabelProps in MUI 6December 17, 2024