Posts Tagged Javascript
Show pound sign in input field by Javascript
Posted by Imran in Javascript on June 30th, 2009
If you have ever tried to put pound sign (or any special character) in any input fields by Javascript, you know that it is not that straight forward.
If we write code like this,
document.getElementById(‘input_field_id’).value = ‘£1000′;
It’ll display some question mark(unrecognized character) instead of the pound sign.
So we need to put character’s unicode [...]
