title: jQuery Masked Input Bug
body: <p>Ok I am using the jQuery masked input plugin version 1.2.2 from DigitalBush.</p>
  
  <p>When applying masks such as:</p>
  
  <pre><code>$(".phone").mask("(999)-999-9999");
  $(".zip").mask("99999?-9999");
  </code></pre>
  
  <p>to text boxes I am getting some strange behavior.</p>
  
  <p>Basically the mask will skip every other space so for a Phone number I will get text that looks like this:</p>
  
  <pre><code>(_3_)-3_3-4_4_  
  </code></pre>
  
  <p>Has anyone else had a similar issue??</p>
  
  <p>here is a sample of the textbox html:</p>
  
  <pre><code>&lt;input id="myZip" class="zip" type="text" maxlength="10"/&gt;
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Ok...I am having the issue with jQuery 1.4.3 and 1.4.4(tried both) and i have tested this in IE8 and FireFox.</p>
  
  <p>What I noticed though is this problem only occurs when the textbox in question resides inside of a jQuery-UI modal dialog(other text boxes work fine)...I am using jQuery-UI 1.8.2 and have also tested with 1.8.7 and 1.8.8....I don't know if that will enable anyone to help me solve this or not...</p>
  
  <p>here is how i have everything set up: <a href="http://jsfiddle.net/H3hTh/" rel="nofollow">http://jsfiddle.net/H3hTh/</a></p>