Create a select option using javascript with the euro symbol in the text

December 5, 2008

This didn’t work:

new Option("€"+value,value);

Neither did this:

new Option("€"+value,value);

But this did:

new Option("\u20AC"+value,value);

3 Responses to “Create a select option using javascript with the euro symbol in the text”

  1. Henrich Says:

    Hello.

    Good tip. Do you know where can i found also the symbols for other currencys in the format as you showed above for the euro?

    Thanks.

  2. senthil Says:

    great tip thanks a lot


Leave a Reply