title: 2 selectors, 2 different events, same function
body: <p>I'm using jQuery 1.7 and need to bind the same function to 2 different live events on 2 different selectors, like:</p>
  
  <pre><code>function do_something(_this){
    // do something with _this
    alert("test");
  }
  
  $("input").live("keyup", function({
    do_something($(this));
  });
  
  $("select").live("change", function({
    do_something($(this));
  });
  </code></pre>
  
  <p>This works, but I would really like if I could somehow pull all this into one statement, like:</p>
  
  <pre><code>// pseudo code
  ( $("input").live("keyup") || $("select").live("change") ).bind(function(){
    // do something with $(this)
    alert("test");
  });
  </code></pre>
  
  <p>Is that possible?</p>