I have a textbox and I need to let user enter only amount of money, which means only numbers and a comma
here is what I have
<asp:TextBox ID="txt_tutar" runat="server" onkeypress="this.value=this.value.replace(/\D/g,'')"></asp:TextBox>
this code above only allows numeric, it deletes the comma. how can I update to let user enter float number in textbox ?