Posts Tagged javascript currency sign

Show pound sign in input field by Javascript






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 […]

,

8 Comments