i am trying to display a pound sign in my html page.i want to display it through a variable because i am getting the values of sign from an xml file.
Here is Code:
<div id="monthly_amt"></div>
<div id="currencySign">\u00A3</div>
js code:
var sign =$('#currencySign').text();
var monthlypayment = 1000;
$('#monthly_amt').html("\'" + sign +"\'" + monthlypayment);
output is
'\u00A3'1000
\u00A3
js fiddle example is