Good afternoon guys, I'm having a problem using the jQuery maskMoney plugin. I am using the following statement before
<div style="float:left; width: 25%">
<asp:Label ID="Label24" runat="server" Text="Valor Total: "></asp:Label>
<asp:RequiredFieldValidator ID="rfvValTotalEnsinoSuperior" runat="server" ErrorMessage="Valor Total: Campo obrigatório." ControlToValidate="tbValorTotalEnsinoSuperior" Display="Dynamic" Text="*" ValidationGroup="ParteReembolsoEnsinoSuperior" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
<br />
<asp:TextBox ID="tbValorTotalEnsinoSuperior" Size="25%" runat="server" MaxLength="100" ReadOnly="True"></asp:TextBox>
<br /><br />
</div>
$("[id*=tbValorTotalEnsinoSuperior]").maskMoney({ prefix: 'R$ ', thousands: '.', decimal: ',' });
E em minha função tenho:
$("[id*=tbValorTotalEnsinoSuperior]").maskMoney('mask',0.01);
But in the TextBox it puts the value as $ 1.00 instead of $ 0.01
Can anyone help?