title: getting name value of clicked on class element jquery
body: <p>I am currently trying the following but it keeps getting the first name value of the first element with the class "button-blue". How can I work correctly so that it gets the name value of the element clicked on with this class??</p>
  
  <pre><code>$(".button-blue").click(function() {
  
      alert($(".button-blue").attr('name'));
  
  });
  </code></pre>