forum

Home / DeveloperSection / Forums / JQuery and special characters in attribute

JQuery and special characters in attribute

Anonymous User255607-Oct-2013

In my jquery script I need to dynamically translate some content, so part of such function is

$('#password').attr('placeholder','Contraseña');

where I tried to change placeholder attribute to text Contraseña.

Unfortunatelly, jquery shows text Contraseña

What does a trick to force jquery to show correct decoded text?


Updated on 08-Oct-2013
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By