masked input in bootstrap modal
$('.contacts-order-btn').on('click',function(){ $('#register-online').modal('show'); }); $('#register-online').on('shown.bs.modal',function(){ $("input[name=phone]").mask("+7 (999) 999-99-99"); });
$('.contacts-order-btn').on('click',function(){ $('#register-online').modal('show'); }); $('#register-online').on('shown.bs.modal',function(){ $("input[name=phone]").mask("+7 (999) 999-99-99"); });