<script language="javascript" type="text/javascript">
function Calcaulate()
{
if(document.getElementById("drpPhoneList").value=="Home Phone Lite")
{
var txtRegular= document.getElementById("txtRegularRs").value;
document.getElementById("txtTotalRegularRs").value=parseFloat(txtRegular);
document.getElementById("TotalRsTaxes").value=parseFloat(txtRegular)+parseFloat(3.63);
}
</script>
<input type="button" value="CALCULATE" onclick="Calcaulate()" class="button" />
<asp:Button ID="btnAdd" runat="server" Text="ADD" OnClientClick="return Validations()"
OnClick="btnAdd_Click" class="button"/>
as i have two buttons one is html and other is aps.net button what i want to do is that first i want to make calculation on client side as shown in above code of calculate function of javascript after calculation i want to insert the result in to sqlserver db by clicking on the asp.net button but when post back occurs it can not maintain the result it just clears the textbox what should i do any trick for that