dynamic javascript element change text
<p>I want to change the user embedd link text by user selection.
The form has 2 textboxes, one for user input with onkeyup event 
and another is readonly textbox with a href html tag</p>

<p>When user starts typing inside the first textbox, the readonly input needs to be changed.</p>

<p>i tried diffrente ways but it didnt worked</p>

<pre><code>&lt;asp:TextBox ID="txtAlinkTitle" runat="server" Text="Register Now" onkeyup="func(this,&lt;%=txtALink.ClientID%&gt;)" /&gt;&lt;br /&gt;
    &lt;asp:TextBox ID="txtALink" Text="&lt;a href='http://google.com'&gt;my text for link&lt;/a&gt; " ReadOnly="true" runat="server" Width="100%" /&gt;
</code></pre>

<p>how can i make it?</p>
