setting asp hyperlink values JS
<p>i have an asp hyperlink. and i want to set the innerHTML and outerText of this hyperlink in javascript. how can i achieve this?<br>
i have the following code:</p>

<pre><code>var path='c:\folder\file.gif'
var HyperlinkObj = GetElementById('hl');
HyperlinkObj.innerHTML ='&lt;a href='+path+'&gt;&lt;/a&gt;'; //causes: htmlfile: Unknown runtime error
HyperlinkObj.outerText = 'file.gif'; //how can i get the file name from the path?
</code></pre>
