I want to set placeholder with special characters for an input. Thus, this is my code:
input.attr('placeholder', '●●●●●');
This outputs special char codes instead of special characters. What is the correct way to display special characters in input elements using Javascript?