This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README | Thu Oct 29 18:51:15 -0700 2009 | |
| |
jquery.maskMoney.js | Thu Oct 29 18:51:15 -0700 2009 |
README
Just a simple way to create masks to your currency form fields with jquery.
USAGE:
<script src="jquery.js" type="text/javascript"></script>
<script src="jquery.maskMoney.js" type="text/javascript"></script>
<script>
$(function(){
$("#currency").maskMoney();
$("#real").maskMoney({symbol:"R$", decimal:",", thousands:"."});
$("#precision").maskMoney({precision:3})
})
function removeMask(){
$("#currency").unmaskMoney();
}
</script>
Default options are (but you can always change that):
symbol:'US$',
decimal:'.',
precision:2,
thousands:',',
allowZero:false,
showSymbol:false
Copyright (c) 2009 Aurélio Saraiva (aureliosaraiva@gmail.com)
* Special thanks to Raul Pereira da Silva (contato@raulpereira.com) and Diego Plentz (http://plentz.org)







