title: How to pass in a selector string to a jQuery event listener using the object syntax
body: <p>I'm using the following object syntax for jQuery's <a href="http://api.jquery.com/on/" rel="nofollow noreferrer">on</a> listener.</p>
  
  <pre><code>$(window).on({
      keydown: function(event){
      },
  });
  </code></pre>
  
  <p>Using this syntax, how can I achieve the following</p>
  
  <pre><code>$(window).on("keydown", "div", function(event){
  });
  </code></pre>
  
  <p>I'd like to use the former syntax, and pass in a selector string to filter the descendants. Sounds like a very basic question, but I couldn't find any examples in the <a href="http://api.jquery.com/on/" rel="nofollow noreferrer">docs</a>.</p>