Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
jquery masking
#1
Smile 
brother, before Im sorry coz my english is not god Smile . and i have one a question,
how to use or implementation jquery masking into appcore. for example as follows

Code:
<!doctype html>
<html>
   <head>
       <title>Masking Input - harviacode.com</title>
   </head>
   <body>
       <form action="#">
           Tanggal <input name="tgl" id="tgl" /> <br>
           NPWP <input name="npwp" id="npwp" /> <br>
           <input name="submit" type="submit" value="Simpan"/>
       </form>
       <script src="jquery.min.js"></script>
       <script src="jquery.maskedinput.js"></script>
       <script>
       jQuery(function($){
           $("#tgl").mask("99/99/9999",{placeholder:"mm/dd/yyyy"});
           $("#npwp").mask("99-999-999-9-999-999");
       });
       </script>
   </body>
</html>

thanks
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)