) {
var d = document.createElement('div');
d.innerHTML = str;
return d.innerHTML;
}
call it like this:
decodeHTMLUnicode('#x20ac;');
This will decode any HTML-encoded unicode entities to their javascript
equivalents.
On Tuesday, August 5, 2014 6:36:43 PM UTC-4, uoʎɐↃ ɐᴚuɐnɾ
Hi there and thanks in advance for any help provided.
I'm coding a table in which one of the columns shows money-related cyphers
so, i set the column to number and format it with the f: ' whatever-format
' option using a function that gives a string including the formated number
plus the