Home
Developer Blog
Ajax effects
CSS examples
Freelance jobs
Hot IT Jobs
Hot scripts
Code samples
Web hosting directory
Lotus Notes FAQ
See the new scripts recently added to Dynamic Drive.
Click here
.
Original, practical
CSS codes and examples
such as CSS menus for your site.
Search code samples
Keyword
All Categories
ASP
CSS
Dhtml
Html
Javascript
PHP
Code Samples
ASP
CSS
Dhtml
Html
Javascript
PHP
LOGIN HERE
Username
Password
Signup Now
Forgot Password
Verify Signup
Javascript >> General
How do I use the inch sign (") in a string?
Visitor Ratings (1) :
Description
You either need to use single quotes around the string:
var myStrinf = '17"';
Or you need to escaoe the double quote with a back slash:
var myString="17\"";
Code
Select All
<SCRIPT LANGUAGE="JavaScript"><!-- document.write("his height is 45\"" ); //--></SCRIPT>
Rate this Resource
0
1
2
3
4
5
6
7
8
9
10