Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: None  |  size: 0.78 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. jquery mobile input masking not working
  2. jquery.mobile-1.0.1.min.css
  3. jquery-1.6.4.min.js
  4. jquery.mobile-1.0.1.min.js
  5.  
  6. $("#ssnprimary").mask("999-99-9999");
  7.        
  8. <div data-role="page" id="mainpage">
  9.     <div data-role="header">
  10.       <h1> My Test </h1>
  11.     </div><!-- /header -->
  12.  
  13.     <div data-role="content">
  14.       <div class="content-primary">
  15.         <form id="fmain" data-ajax="false">
  16.           <!-- Primary SSN -->
  17.  
  18.           <div data-role="none">
  19.             <label for="ssnprimary">SSN:</label>
  20.             <input type="tel" name="ssnprimary" id="ssnprimary" value="" />
  21.           </div>
  22.           </form>
  23.          <br />
  24.        </div><!-- /content -->
  25.     </div><!-- /content -->
  26.  
  27.     <div data-role="footer"
  28.       data-theme="d"></div><!-- /footer -->
  29.   </div><!-- /page one -->