hankknight
asked on
JavaScript: Entity in document.title
How can I add a dash to my document.title using JavaScript?
<script type="text/javascript">
document.title='Hello — World';
</script>
ASKER
Thanks, but my question is about how to get a numbered entity into the title.
"—" is NOT the same a "-", it is much wider. I want to define it with the entity number, —
"—" is NOT the same a "-", it is much wider. I want to define it with the entity number, —
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Work for me : http://fiddle.jshell.net/kHnPa/show/
Open in new window