How correctly assign value to field
<p>I am trying to assign value for one edit field(not asp.net control) in asp.net application using JavaScript code. It seems that <strong>&lt;</strong> character in value string gives problems for ASP.NET. If I remove &lt; and > characters from value everything works fine.</p>

<p>Where is the problem? How to pass &lt;> characters to the field? I don't want to use ServerSide code I want to do it on ClientSide using JS and HTML Edit box.</p>

<pre><code>        function loadShareBox(pageTitle) {
            document.getElementById("shareHTML").value = '&lt;a href="' + document.location.href + '" target=_blank&gt;' + pageTitle + '&lt;/a&gt;';
        }
</code></pre>

<p>regards,
Tomas</p>
