$("#txtBPhone1").mask("(999) 999-9999", { placeholder: " " });
// just simply add the mask='' and maskph='' to the desired input control and this will bind it when the page runs.
$("input").each(function (index) {
var lcMask = $(this).attr("mask");
if (lcMask != '') {
var lcMaskPh = $(this).attr("maskph");
$(this).mask(lcMask, { placeholder: lcMaskPh });
}
});
// For buttons to postback without firing the validators, add class 'novalidation' and this will allow postback without validating page controls.
$('input.novalidation').click(function () {
$('input, div, form, select, textarea').removeAttr('data-invalid');
$('input, div, form, select, textarea').removeAttr('required');
$('input, div, form, select, textarea').removeClass('error');
});
-->