How do i assign value to a textbox using javascript
<p>I have an asp.net mvc application and i am trying to assign value to my textbox dynamically, but it seems to be not working (I am only testing on IE right now). This is what I have right now..</p>

<p><code>document.getElementsByName('Tue').Value = tue;</code> (by the way tue is a variable)</p>

<p>I have also tried this variation but it didnt work either.</p>

<p><code>document.getElementsById('Tue').Value = tue;</code> (by the way tue is a variable)</p>

<p>Can someone where please tell me where I am going wrong with this?</p>
