Here is an example of using tab characters in a blog post. To get this: Column1 Column2 A Apple B Banana C Coconut You can copy and paste this: <pre> Column1 	 Column2 A 	 Apple B 	 Banana C 	 Coconut </pre> The trick to this is using the ‘<pre>’ tag and the html entity code for tab: […]
Continue reading...1. July 2009
Comments Off on Escaping Characters in JavaScript
Some characters can not be represented in a string in JavaScript, other characters might have a specific meaning in JavaScript. Here is a list of common escape sequences: \' Single Quote \n Newline \" Double Quote \t Tab \\ Backslash \b Backspace \f Form feed \r Carriage return To use, simply insert them into your […]
Continue reading...
2. July 2009
2 Comments