title: attr() not working in IE
body: <p>after browsing some similar question on here I couldn't find anything to help me fix my problem. In Chrome it works, get to IE and I get "aN,AN,NAN"</p>
  
  <p>the HTML</p>
  
  <pre><code>&lt;div class="dateSelect"&gt;
    &lt;div class="prev"&gt;
        &lt;a class="prevMonth" name="05,27,2013"&gt;month&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>the jQuery</p>
  
  <pre><code>$(".dateSelect a").click(function(event){
          var dateParam = $(this).attr('name');
  
          alert("link was clicked and value of NAME is: "+dateParam);
          dateChange(dateParam);
          event = event || window.event;
          event.stopPropagation();
      });
  </code></pre>
  
  <p>In Chrome it grabs the date "05,27,2013" but IE it's "aN,aN,NaN"
  I have a sneaky suspicion IE doesn't like attr(). If that's the case, is there an alternative way? Thank you in advance!</p>