Home
Contact
Emulators
Tutorials
Developer
Services
Mobile
Games
Links
Login
Legal
Site map
Tutorials
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
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
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)
Mime types
Model View Controller Explained
Plesk
Search Engine Optimisation Quick Guide
Software Licenses
UML Reference
Web development process
Windows Quick Guide
XHTML Quick Guide
XPath
Translate this page
Search this site for
Print page
Bookmark
Mobilefish Firefox search plugin
Mobilefish button for Google toolbar
Javascript Reference Guide
This guide contains usefull Javascript tips.
Quick guides
Array
Date and time
Timer
DOM
For loop
Key code
Radio button
Popup window
Find div with certain class
Escape characters
Encoding url
Regular expression
Microsoft script debugger
Change browser window status
Change frame size of parent
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");