How to retrieve the page title in JavaScript?
<p>I need a way to retrieve the title of a remote webpage. I found this js on the internet but
someone can tell me what does "$.request("fetch_title", { url: c })" do in this function: ?</p>

<pre><code>function fetch_title() {
var a = $("#url-field"),
    b = a.find(".NO_URL"),
    a = a.find(".title-status"),
    c = $("#url").val();
  if (c) {
    if (!$('form#newlink textarea[name="title"]').val() || confirm("This will replace your existing title, proceed?")) 
        a.show().text(reddit.status_msg.loading), 
        b.hide(), 
        $.request("fetch_title", { url: c })
  } else a.hide(), b.show().text("a url is required")
}
</code></pre>
