I'd like to add an ellipsis to an input element's placeholder attribute with jQuery prop() but instead of the intended … I get literal string ….
How can I add html entities by name with jQuery prop()?
$(document).ready(function(){
 $('div#b input').prop('placeholder','Search…');
});<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<div id="a"><input type="text" placeholder="Search…" /></div><br />
<div id="b"><input type="text" /></div> 
     
     
     
    