Posts by Matheus Cardoso • 1 point
2 posts
-
0
votes1
answer123
viewsA: Applying CNPJ Mask to Dynamically Add/Remove Fields
I found a solution using jquery, but still find difficulties <script> jQuery(function($){ var count = 1; for (count=1; count<=totalcampos; count++) "CNPJ"+count; /* Minha dúvida está aqui!…
-
-1
votes1
answer123
viewsQ: Applying CNPJ Mask to Dynamically Add/Remove Fields
var corCompleta = "#99ff8f" var corIncompleta = "#eff70b" function ResetCampos() { var textFields = document.getElementsByTagName("input"); for (var i = 0; i < textFields.length; i++) { if…