複数選択の構文がわかりません。つまり、標準のクリック要素関数を使用しています。
$("#target").click(function () {});
つまりif #target is clicked then do function
そしてそれを意味のあるものにするif #target or #target2 or #target3 is clicked then do function
またif #target1 and #target2 are hovered over, then do function
それぞれに対してクリック機能を実行できることはわかっていますが、それはスペースの無駄のように思えます。それをより簡潔にコーディングするにはどうすればよいでしょうか?
ありがとう。