Solved

JavaScript: Alert the "…" Character

Posted on 2013-06-13
1
257 Views
Last Modified: 2013-06-14
How can I alert "…"?

This does not work:
alert( '…' );
0
Comment
Question by:hankknight
1 Comment
 
LVL 42

Accepted Solution

by:
David S. earned 500 total points
Comment Utility
Character entities in that format are an HTML and XML feature, not a JavaScript or CSS feature.

In JavaScript the number is put in hexadecimal for numbers in that higher range (low range characters have a choice of syntaxes).
alert('\u2026');

Open in new window

JavaScript character escape sequences
Using special characters in strings | MDN
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
radio button value 3 45
jQuery value within div undefined 3 17
Phone Dialer 5 36
Javascript generate change location 12 21
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now