JavaScript Backslash And Special Characters In Text
CSGNetwork FREE Source Code, Javascript Source, and Code Snippets!
CSGNetwork Custom Search
     Bookmark and Share
 
CSGNetwork
Snippets
Calculators
Top Free Apps
Home
Back



Right click this window and select "view source" in order to copy the source for this script.



JavaScript Text Special Characters
Code Needed Display Yield
\" double quote
\' single quote
\& ampersand
\\ backslash
\t tab
\n new line
\r carriage return
\b backspace
\f form feed


JavaScript Backslash And Special Characters In Text

View the source. There are some characters that cause problems in different attempts to use or display them. They are shown in the table above. The example above the table uses the backslash to display the single quotes.



Bookmark and Share
Registered® Trademark™ and CopyrightŠ 1973 - CSG, Computer Support Group, Inc. and CSGNetwork.Com All Rights Reserved