[Javascript] " " ' '

Andrew Gibson andyg at ihug.co.nz
Mon Nov 5 18:37:09 CST 2001


Subject: [Javascript] " " ' '


> 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 could probably try putting it into a string like so:

var txt="O'Reilly"
test(txt)


Andrew Gibson




More information about the Javascript mailing list