[Javascript] " " ' '

Dan Costea costea.dan at ssi-schaefer.ro
Tue Nov 6 00:17:12 CST 2001


> Hi!
>
> I have a function to which I send some parameters (e.g. test('hero')). And
> this variable has some " " and ' ' in it. And I was just wondering how can
I
> send this to a function?
>

you can use: \
Ex:

test ('lala\'lala"lala')

the parameter you sent is: lala'lala"lala




More information about the Javascript mailing list