Work on ASP.net vs 05 C#,There are three textBox.Length,Height,Sft.I want to multiply Length*Height and want to put value on Sft text.
<asp:TextBox ID="txtLength" runat="server"></asp:TextBox>
<asp:TextBox ID="txtHeight" runat="server" onblar="javascript:ComputeSft( );" ></asp:TextBox>
<asp:TextBox ID="txtSft" runat="server"></asp:TextBox></td>
Sft=Length*Height.
function ComputeSft()
{
var _nLength, _nHeight,_nSft;
_nLength=document.getElementById("txtLength").innerText;
_nHeight=document.getElementById("txtHeight").innerText;
_nSft=_nLength*_nHeight;
alert(_nSft);
txtSft.Text=_nSft;
}
How to multiply? and How to set multiply value on textbox?