treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Change Dollars into Euros on the editable invoice

  • Dear all,

    I'm trying to use the beautiful Editable Invoice(http://css-tricks.com/editable-invoice-v2/#comment-66016) , but I'm trying to use it with Euros. So I changed every $ into a € (not the one for jquery ofcourse) but no, everythime i change quantity etc it says N/A. Can you please help me how to change this??

    Thank you
  • It's these bit's you're looking for

    $('#subtotal').html("$"+total);
    $('#total').html("$"+total);

    Change to

    $('#subtotal').html("E"+total);
    $('#total').html("E"+total);

    Where the $ is in quotes means it is a string and the + concatenates it to the variable total.

    Hope that helps