question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IE8 - Multiple Masks Error

See original GitHub issue

Hi Robin!

I’m getting a error on IE8 only with Multiple Masks, error description: Object doesn’t support this property or method ‘indexOf’

// Line 1592
if (["click"].indexOf(e.type) != -1) {
    mcaret(lmnt, TranslatePosition(caretPos.begin), TranslatePosition(caretPos.end));
    if (caretPos.begin != caretPos.end) {
        goDetermine = false;
        return;
    }
}

Mask: $(selector).inputmask({ mask: [“999.999”, “aa-aa-aa”]});

Great feature BTW!!

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
RobinHerbotscommented, Jun 2, 2014

@spacelab-x ,

Did you include the jquery.inputmask-multi.js? or are you using the bundle?

0reactions
spacelab-spcommented, Jun 3, 2014

@RobinHerbots Worked! Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple masks not working correctly on international phone ...
When trying to mask a us phone and an international phone, the mask always defaults to the US phone. $("#Phone1").inputmask({ mask: ...
Read more >
IE on XP does not support SNI to permit multiple certificates for ...
I have some shared images accessed by all sites and the way to stop the none-secure error on the SSL site was to...
Read more >
Internet Explorer 8 Certified with E-Business Suite Release 12
September 11, 2009 | 2 minute read ... If IE 8 end-users encounter this error when attempting to launch a Forms-based E-Business Suite...
Read more >
IE8 can't open any secure (https://) sites - Super User
1) Open START > and run > CMD . insert & execute this command (or one by one, but remove && ): ·...
Read more >
Easy JavaScript/jQuery Input Mask Plugin - inputmask
2. Define your masks using data-inputmask attribute. ... Fixed: IE8 error: Object doesn't support this property or method ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found