Main navigation
MOBILEFISH.COM
Home
Shop
Contact
Emulators
Tutorials
Developer
Services
Mobile
Games
Login
Legal
Tutorials
section navigation
3D Studio Max
Abbreviations
ADSL installation
Advertising programs
for publishers
BitComet
BTW
Character Encoding
Quick Guide
Chinese
Cascading Style Sheet Quick Guide
Top Level Domain
Country Codes
Language Codes
Country Currency Codes
Country Language Codes
Design Patterns
Faucet ceramic cartridge
HomeSite
How to use JDBC
How WAP works
How to serve midlets
on a web server
How to serve WAP docs on a web server
HTML Quick Guide
HTTP error codes
J2EE deployment descriptors
Java Pet Store Tutorial
Java Quick Guide
Javascript
Reference Guide
JSP Quick Guide
Linksys Wireless Access Point Router with 4-Port Switch (BEFW11S4 ver. 3)
Linksys Wireless Network PC Card (WPC11 ver. 3.0)
Mac OS
MIDI
Mime types
Model View Controller Explained
PDF
Plesk
QR code
RTTTL
Search Engine Optimisation Quick Guide
Software drivers
Software Licenses
Theory of computation
UML Reference
Unix
Web development process
Web service
Whois servers list
Windows Quick Guide
XHTML Quick Guide
XPath
XSLT
Show more ▼
Print this page
Javascript Reference Guide
This guide contains useful Javascript tips.
Quick guides
Array
Date and time
Timer
DOM
For loop
Key code
Radio button
Popup window
Switch and random
Find div with certain class
Escape characters
Encoding url
Regular expression
Microsoft script debugger
Change browser window status
Change frame size of parent
Local and global variables
Create javascript objects
Show object content
Auto reload log file in iframe and show end of log file
Escape characters.
Information
Escape characters are used inside strings.
Code
Sequence
Name
Example
\b
Backspace
\f
Formfeed
\n
Newline
alert("Values:\nAA BB\nCC DD");
\r
Carriage return
\t
Horizontal tab
alert("One\tTwo");
\'
Single quote
alert("That\'s it!");
\"
Double quote
alert("Say \"YES\"");
\\
Backslash
alert("Start c:\\test.bat");
\NNN
NNN is an octal number that represent the
Latin-1 (same as ISO-8859-1) character
equivalent.
alert("Copyright \251 2004");
\xNN
NN is a hexadecimal number that represent the
Latin-1 (same as ISO-8859-1) character
equivalent.
alert("Copyright \xA9 2004");
\uNNNN
NNNN is a hexadecimal number that represent the
Unicode character
equivalent.
alert("Copyright \u00AE 2004");
Posted comments
Poll