assign a function to multiple objects

assign a function to multiple objects

is it any shortcut for these lines of code:
  1. $("#div1").fadeToggle("slow", "linear");
    $("#div2").fadeToggle("slow", "linear");
    $("#div3").fadeToggle("slow", "linear");

      
i mean assigning a function for multiple objects, i testes code below, but it didn't worked out:
  1. $("#div1").$("#div2").$("#div3").fadeToggle("slow", "linear");