173
| <![CDATA[<script>
$(document).ready(function($){
var SPMaskBehavior = function (val) {
return val.replace(/\D/g, '').length === 11 ? '(00) 00000-0000' : '(00) 0000-00009';
},
spOptions = {
onKeyPress: function(val, e, field, options) {
field.mask(SPMaskBehavior.apply({}, arguments), options);
}
};
$('.cep').mask('00000-000');
$('.cpf').mask('000.000.000-00', {reverse: true});
$('.sp_celphones').mask(SPMaskBehavior, spOptions);
$('.money').mask("#.##0,00", {reverse: true});
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
});
</script>]]>
|