title: RobinHerbots' jQuery Inputmask not working on IE8 (WinXP)
body: <p>My scenario: I'm trying to mask some input fields using jQuery Inputmask Plugin. It is ok on Chrome, Opera, Safari, IE10, Firefox, but not on IE8!</p>
  
  <p>I created a dummy page to test if other scripts was interfering, but isn't the case.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;script type="text/javascript" src="js/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="inputmask/inputmask.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="inputmask/jquery.inputmask.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="inputmask/inputmask.extensions.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="inputmask/inputmask.dependencyLib.jquery.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="inputmask/inputmask.numeric.extensions.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="inputmask/inputmask.phone.extensions.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="inputmask/inputmask.regex.extensions.js"&gt;&lt;/script&gt;
      &lt;!--[if lte IE 8]&gt;
      &lt;script type="text/javascript" src="js/ie8customscripts.js"&gt;&lt;/script&gt;
      &lt;link href="css/ie8customstyles.css" rel="stylesheet" type="text/css"&gt;
      &lt;![endif]--&gt;
      &lt;!--[if IE 9]&gt;
      &lt;script type="text/javascript" src="js/ie9customscripts.js"&gt;&lt;/script&gt;
      &lt;link href="css/ie9customstyles.css" rel="stylesheet" type="text/css"&gt;
      &lt;![endif]--&gt;
  &lt;/head&gt;
  &lt;body&gt;
      cpf&lt;br/&gt;&lt;input id="cpf" type="text"&gt;&lt;/input&gt;
      cnpj&lt;br/&gt;&lt;input id="cnpj" type="text"&gt;&lt;/input&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>JS (ie8customscripts.js)</strong></p>
  
  <pre><code>$(function(){  
     $("#cpf").inputmask("99-9999999");  //static mask
     $("#cnpj").inputmask({"mask": "(999) 999-9999"}); //specifying options
  });
  </code></pre>
  
  <p>In my actual pages, i was using <code>data-</code> attributes to set the mask, which obviously didn't worked on IE8, so i tried to do this way.</p>
  
  <p>Here's the exact line that throws the error (it is thrown about 20 times).</p>
  
  <p><a href="https://i.stack.imgur.com/1u2O9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1u2O9.png" alt="inputmaskerror"></a></p>
  
  <p>Until where I know, it was supposed to work on IE8, right?</p>