title: Getting META description via jQuery
body: <p>Let's say I do a simple AJAX request (in jQuery) like <code>geturl.php?url=http://google.com</code></p>
  
  <p>and <code>geturl.php</code> is this:</p>
  
  <pre><code>&lt;?php
      if($_GET['url'])
      {
          $url=$_GET['url'];
          echo file_get_contents($url);
      }
  ?&gt;
  </code></pre>
  
  <p>Simple, right?</p>
  
  <p>How would I grab the META description from the returned (really long) string in jQuery?</p>
  
  <p>Here's what I have so far. Yes, I know, <code>desc</code> is wrong.</p>
  
  <pre><code>$.get("geturl.php?url="+url,function(response)
  {
      // Loading &lt;title&gt;&lt;/title&gt;data
      var title=(/&lt;title&gt;(.*?)&lt;\/title&gt;/m).exec(response)[1];
      var desc = $("meta[name=description]").val();
      $("#linkbox").html("&lt;div&gt;&lt;b&gt;"+title+"&lt;/b&gt;&lt;br/&gt;"+url+"&lt;br /&gt;Desc: " + desc)
  });
  </code></pre>