Skip to content

dubroe/bootstrap-money-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

bootstrap-money-field

Convert an input field (type="text") into a textfield with a twitter bootstrap dollar sign add on.

Sample usage:

In your html:

Delivery Charge <input type="text" class="money" name="delivery_charge" />
Minimum Order Amount <input type="text" class="money" name="minimum_order_amount" />

In your javascript:

var options = {
  width: 80 // The css width to be applied to the textfield
};
$('.money').money_field(options); // Or just $('.money').money_field();

Resulting fields look like this: https://skitch.com/dubroe/8at3d/bootstrap-money-field

About

Convert an input field (type="text") into a textfield with a twitter bootstrap dollar sign add on

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published