jQuery Currency Converter Plugin

Installation & Configuration Demo GitHub Issues

Installation & Configuration

  1. Include latest jQuery
  2. Download & include jQuery Currency Convertter form this link
  3. Initilise with desired Configuration
  4. Enjoy!

To initialise

HTML

<div class="currency-selector"></div>

JS


  $('.currency-selector').currency_converter({
    base : 'INR',
    target : '.price',
    currencies : {
      'INR' : { key : 'INR', rate : 1, format : '{value} INR', label : 'Indian Rupee (INR)' },
      'GBP' : { key : 'GBP', rate : 100, format : '&pound;{value}', label : 'Pound Sterling (GBP)' },
      'EUR' : { key : 'EUR', rate : 80, format : '&euro;{value}', label : 'Euro (EUR)' },
      'USD' : { key : 'USD', rate : 60, format : '${value}', label : 'US Dollar (USD)' }
    }
  });
        
rate is used as fallback if Yahoo Currency API is down.

Demo

choose currency!
Rs 818/month
Rs 1,635/month
Rs 4,388/month
Rs 9,939/month