github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

plentz / jquery-maskmoney

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 5
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

jquery plugin to mask data entry in the input text in the form of money (currency). — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

just some changes in copyright and examples 
plentz (author)
Thu Oct 29 18:51:15 -0700 2009
commit  6914f2c8a99a54c6641b6a679df611e4ff874d5a
tree    96d6df44d266985169fd4effe01284b5a5052109
parent  26144646e6f1e2de88766b82d6576bf47b1fa487
jquery-maskmoney /
name age
history
message
file README Thu Oct 29 18:51:15 -0700 2009 just some changes in copyright and examples [plentz]
file jquery.maskMoney.js Thu Oct 29 18:51:15 -0700 2009 just some changes in copyright and examples [plentz]
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)
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server