I'm using maskMoney but it only formats value if I click on input, how can I change it? Or is it formatted as soon as the page loads?
$(function() {
$("input").maskMoney({
allowNegative: true,
thousands: '.',
decimal: ',',
affixesStay: false
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/jquery-maskmoney/3.0.2/jquery.maskMoney.min.js"></script>
<input type="text" value="-90.00"/>