0

I am using jquery.maskedinput.js plugin to add phone number masking to two fields through a common class assigned to it. This works fine in other browsers except for IE11.

Issue: Due to masking applied, focus keeps on shifting between both these fields continuously in loop, disabling the user to enter content.

Any help to fix this would be appreciated.

$(".classname").mask("(99)99999999");
Arun
  • 300
  • 2
  • 13
Abhishek Bhatore
  • 119
  • 1
  • 3
  • 10

1 Answers1

1

Finally after couple of R&d and major hit and trial we have done this issue to set masking on focus.

$(".classname").focus(function(){
          $(this).mask("(99)999999999");
});
Abhishek Bhatore
  • 119
  • 1
  • 3
  • 10