Skip to content

Commit

Permalink
Merge pull request #1 from barraponto/masked_input
Browse files Browse the repository at this point in the history
Masked input
  • Loading branch information
bgola committed Jun 5, 2011
2 parents 858fa7e + 7e2c49c commit 675d334
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/static/js/jquery.maskedinput-1.3.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions app/static/js/scripts.js
Expand Up @@ -67,4 +67,6 @@ $(document).ready(function() {
});
});

//Add an input mask to the mobile phone input
$('#mobile').mask('+99 (99) 9999-9999');
});
1 change: 1 addition & 0 deletions app/templates/index.html
Expand Up @@ -10,6 +10,7 @@
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="/static/js/jquery-ui-1.8.13.custom/js/jquery-ui-1.8.13.custom.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/js/jquery.maskedinput-1.3.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/js/scripts.js" type="text/javascript" charset="utf-8"></script>

</head>
Expand Down

0 comments on commit 675d334

Please sign in to comment.