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
Post a Comment