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 - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -