function kgstotons() { var quantity=parseFloat(document.getElementById('t;%=txtQuantity.ClientID%gt;').value); if(isNaN(quantity)!=true ) { document.getElementById('<%=lblTons.ClientID%gt;').innerText = parseFloat(document.getElementById('<%=txtQuantity.ClientID%>').value) / parseFloat(1000); return false; } }
txtQuantity.Attributes.Add("onkeydown", "kgstotons();");
txtQuantity.Attributes.Add("onkeyup", "javascript:return kgstotons();");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)