Hi all,

I am a newbie to JS.

Currently i need to assign the value to the textarea while loading the page. As its the Div Element, when i am giving the URL in the textarea, it shows as link.
Now I need to Print the Reference Value of that URL instead of a link.

var x=document.getElementById("text");
var y = "Google Link";
var z=y.link("www.google.com");

Its printing the link as <a href="www.google.com">Google Link</a>
Please help .