title: How to get the jQuery element (or attributes) in a click event in Backbone.js?
body: <p>I have the following code:</p>
  
  <p><strong>HTML</strong>:</p>
  
  <pre><code>&lt;div id='example'&gt;
   &lt;a href='#' data-name='foo' class='example-link'&gt;Click Me&lt;/a&gt;
   &lt;a href='#' data-name='bar' class='example-link'&gt;Click Me&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>JavaScript</strong></p>
  
  <pre><code>example_view = Backbone.View.extend({
      el: $("#example"),
      events: {
        'click .example-link' : 'example_event'
      },
      example_event : function(event) {
        //need to get the data-name here
      } 
  });
  </code></pre>
  
  <p>how can I get the <code>data-name</code> attribute of the link that was clicked inside of the <code>example_event</code> function ?</p>