dynamically convert string to HTMLControl in javascript
<p>I am having one id of textbox in form of string &amp; I want to set some value from js. How could I set it</p>

<pre><code>document.formid.getElementByTag("input").getelementId("strTextId").value = dynamicVal 
</code></pre>

<p>Other cases its HTMLInputObject ref. But here I am having string id only</p>

<p>Please guide me. I wanted to do it in javascript only</p>
