index.html 472 B

1234567891011121314151617181920
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. </head>
  7. <body>
  8. <input id="test1" name="test1"/>
  9. <br/>
  10. <script type="text/javascript" src="node_modules/jquery/dist/jquery.js" charset="utf-8"></script>
  11. <script type="text/javascript" src="dist/jquery.inputmask.bundle.js" charset="utf-8"></script>
  12. <script>
  13. console.log(navigator.userAgent);
  14. $("#test1").inputmask("currency", {
  15. colorMask: true
  16. });
  17. </script>
  18. </body>
  19. </html>