hi
I used below code for price format
<script type="text/javascript">
$(function () {
$('#txtprice1').priceFormat({
prefix: '',
thousandsSeparator: ',',
centsSeparator: ',',
limit: 10,
centsLimit: 0
});
});
</script>
and below is textbox code:
<asp:TextBox ID="txtprice1" runat="server" CssClass="txtpriceS">
</asp:TextBox>
it worked correctly and show thousand seprator in textbox:100,000
but now I should put textbox in updatepanel:
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
<asp:TextBox ID="txtprice1" runat="server" CssClass="txtpriceS">
</asp:TextBox>
</ContentTemplate>
</asp:UpdatePanel>
when I put it in update panel price format doesn't work I mean when I type number in textbox it show number in simple format(10000) ...
why this happen?
Best Regards
Neda