Main navigation
Home
Contact
Emulators
Tutorials
Developer
Services
Mobile
Games
Links
Login
Legal
Site map
Tutorials
section navigation
3D Studio Max
Abbreviations
ADSL installation
Advertising programs
for publishers
BitComet
Character Encoding
Quick Guide
Cascading Style Sheet Quick Guide
Top Level Domain
Country Codes
Language Codes
Country Language Codes
Design Patterns
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)
MIDI
Mime types
Model View Controller Explained
PDF
Plesk
QR code
RTTTL
Search Engine Optimisation Quick Guide
Software Licenses
UML Reference
Unix
Web development process
Web service
Whois servers list
Windows Quick Guide
XHTML Quick Guide
XPath
XSLT
Translate this page
Print this page
Bookmark
Mobilefish Firefox search plugin
Mobilefish button for Google toolbar
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
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