jquery - Append euro-sign to form textfield (zf2) -


i'm trying append -sign textfield, it's not showing right. �-sign. i've tried following:

$(pricetext).val("€ " + price + ",-"); $(pricetext).val("€ " + price + ",-");  

as € , €

but nothing's worked far. can help? if more info required, please ask, new so.

thanks in advance!

there character encoding mismatch (related),

use unicode value \u20ac € (euro)

$(pricetext).val("\u20ac " + price + ",-"); 

Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -