title: How to get current page title and add it to link directly as variable in JavaScript
body: <p>Am trying to create a facebook share code in just html and javascript
  I would want the link to be exactly like this:</p>
  
  <pre><code>&lt;a href="http://www.facebook.com/sharer/sharer.php?u=http://lmn.9nty.com/?t=PAGETITLE+++-+learnmorenigeria+website%26l=www.learnmoreng.com/site_responcepage.html"&gt; share &lt;/a&gt;
  </code></pre>
  
  <p>But the problem now is, how can I get the page title through the help of ONLY javascript and then add it to the link at t=PAGETITLE.</p>