I have this javascript function that will save data to data base This is My pAGE + script
<asp:Content ID="Content2" ContentPlaceHolderID="ContentSection" runat="server">
<div class="jumbotron">
<table class="table table-striped table-condensed table-hover">
<tr>
<td><label for="txtProductType">Product Type:</label></td>
<td><input class="text-left" type="text" id="txtProductType"/></td>
</tr>
<tr>
<td></td>
<td><input type="button" class="btn btn-primary" value="Save" onclick="productTypeSave();"/></td>
</tr>
</table>
</div>
</asp:Content> ...
Go to the complete details ...