Facebook-like textbox that fetches a URL's contents upon paste
<p>hi all i stuck at a point in which i want to ma a multiple line text box to work just like a FACEBOOK  text box  . i.e. when a URL is pasted or typed (along with the text) it will it fetches the information from the page specifed by URL </p>

<p>well i found somthing at 
<a href="http://stackoverflow.com/questions/1891145/how-does-facebook-detect-when-a-link-as-been-pasted">This post</a><br>
i want to know how to get URL in VAR in javascript </p>

<p><code>coz when i enter a url it fetches complete information how ever when i put another url it treat it as a text</code></p>
