Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

JavaScript: Alert the "…" Character

Posted on 2013-06-13
1
263 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
ID: 39246387
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how can i make 2 columns? 4 36
Asp in script 6 35
How to resize a div in html 3 35
JS Event Does not Trigger From File 2 23
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

791 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