Hi all,
I try to add thousand separator to my Metabox number value. I tried one solution (https://support.metabox.io/topic/multimask/), but I should have updated my fields all over the CPT, quite a some, so I have been trying to use a different solution.
I have found this simple one, however it is not working:
document.getElementById("demo").innerHTML.toLocaleString("en-US", {style:"currency", currency:"USD"});
The output is the original value. Could you please help? What should I do to make this work? Or is this solution is a dead-end?
Thank you!
J