I have a table in a form. It is actually the second form in the process, and all the rows will have been already added at the point I need the masked field.
I have the following code.
$(document).ready(function () { $.getScript('https://servername/lib/jquery-mask/jquery.mask.min.js', function () { $(".code input").mask("99-999-99-99999"); $('.Table tbody tr').on('blur,change',function(){ $(".code input").mask("99-999-99-99999"); }); }); });
I did change the server name to the appropriate address and I am able to get the first row to mask perfectly. I need help with the other rows.
I realize there are other posts explaining how to do this, but as a non-coder, I am thoroughly overwhelmed. I wish there was a way to make tables easier.
Anyway, please help me to fix the code so I can mask the related field in each row. I can ususally decipher other posts and figure out a solution, but his one has me stumped.