title: is there a proper way to iterate over multiple selectors in jquery
body: <p>suppose i have a <code>.on()</code> function wherein i select multiple ids</p>
  
  <pre><code>    $("#i, #am, #your, #father").on("click" , function(event){
      //iterate over the selectors and return tagname
         alert ( $("#i").prop("tagName")  );
         alert ( $("#am").prop("tagName") );
         alert ( $("#your").prop("tagName") );
         alert ( $("#father").prop("tagName") );
      }
  </code></pre>
  
  <p>the only method that i can think of is to alert each one separately. is there a known method for handing the <code>$("#i, #am, #your, #father")</code> as a sort of array?</p>