<asp:Button ID="btnInsertLink" runat="server" Text="Get Link" OnClientClick="GetLink();return false;" />
<iframe id='myTextArea' name='iframe' ></iframe>
function GetLink() { var vKeyWord = "http://www.codeproject.com"; myTextArea.document.execCommand('createlink', 0 ,vKeyWord); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)