I am using a collection and applying a mask to the number entered into the field. When a row is added the mask is not applied to the new row. Any ideas about how I could do this.
I have included the portion of code that I am using to accomplish this:
//Format Budget Codes
$(document).ready(function () {
$(document).on('click','bdc',function() {
$.getScript('https://laserfiche.mcoe.org/Forms/js/jquery.mask.min.js', function () {
$('.bdc input').mask('99-9999-9-9999.99-9999-9999-999-999-999');
});
alert("you clicked the element with an ID of bdc...");
});
// $.getScript('https://laserfiche.mcoe.org/Forms/js/jquery.mask.min.js', function () {
// $(".bdc input").mask("99-9999-9-9999.99-9999-9999-999-999-999");
// });
});