0
I have been researching some Jquery masks to apply on a system, but I noticed that in some examples the mask is displayed when you click on the input, and in other cases the mask is applied during typing.
How do I get the second case? I am currently using the code below and got the first option.
<head>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery.maskedinput.js"></script>
</head>
<script type="text/javascript">
$(document).ready(function(){
$("input.estoque").mask("999.99");
});
</script>
<body>
<label for="EST_MIN">
<input type="text" class="estoque" name="EST_MIN" id="EST_MIN" MAXLENGTH="6" value="" />
</label>
With the jQuery Mask he makes it automatic.
– Franchesco