0
I need to do a javascript validation, which picks up how many are filled, the mask is like this: 000,000,000,000 etc, in case it should pick up 4, as it is the sequence of 4, each thousand account one, the user will fill in type: 030,050,060 etc to compare with the number of payments.
I’m doing so, but I need him to take the amount and not the values:
var str = $("#FormaCalculosVencimentos").val();
var arr = str.split(",");
alert(arr);
But if
arr
is a array, don’t just takearr.length
?– Woss
That’s right rs, it worked right.
– Mariana