Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] double quotes inside a String


  • From: javascript@xxxxxxxxxx (William T. Simmons)
  • Subject: [Javascript] double quotes inside a String
  • Date: Mon, 30 Dec 2002 02:18:01 -0600

Try using either the single-quote character 'like this' or else escape the "
character \"like this\". For examples, see this URL:
http://www.dardenhome.com/js/x17294.htm
HTH,
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com

----- Original Message -----
From: "Sumit Jaiswal" <sumit@xxxxxxxxxxxx>
To: <javascript@xxxxxxxxxx>
Sent: Monday, December 30, 2002 2:34 AM
Subject: [Javascript] double quotes inside a String


> hi ,
> i have a query :
>
> How do we write a double quotes inside a String in JavaScript.
> Something like this :
>
>
> collegeId[i][j] = "(""+ "<%=college%>" + "",""+"<%=courseid%>"+")"";
>
> thank u,
>
> --
> Sumit Jaiswal
> Davlin Software Pvt Ltd .
> 2nd Floor , Punja Building,
> Lalbaugh , Mangalore
> Ph 0824-451001,451005
> --------------------------------------------------