title: Does Zepto support passing data to event handlers like jQuery?
body: <p>or rather: can I write code that allows passing data to event handlers that runs on both Zepto and jQuery (e.g. like Zurb's Foundation should)?</p>
  
  <p>Having an event handler that needs external data defined at time of declaration, this data can be passed as part of the <code>event.data</code> in jQuery:</p>
  
  <pre><code>var name = $(this).find("a").attr("href");
  // add click function
  $(this).click({_name: name}, function(event) {
      $("#"+event.data._name).val($(this).find("a").attr("value"));
      return(false);
  });
  </code></pre>
  
  <p>Similar doesn't seem possible in Zepto. How can the same be achieved and how does code need to look that runs on both Zepto and jQuery for this use case?</p>