title: jQuery.push into array returning undefined
body: <p>I'm trying to push data from this h5 tag to my favorites array but it keeps returning undefined. It does return something, and it works on the click, but it just keeps returning undefined.</p>
  
  <pre><code>&lt;h5 id="favoriteartist"&gt; Armin van Buuren &lt;/h5&gt;
  </code></pre>
  
  <p>And here's my script.</p>
  
  <pre><code>$('#favoriteadd').live('click',function() {
      var favorites = []
      favorites.push( $('h5 #favoriteartist').val() );
      console.log(favorites);
  });
  </code></pre>
  
  <p>What am I doing wrong here?</p>