Yes, using all single or all double quotes is problematic. Also reserving the use of doubt quotes for HTML, and single quotes for JavaScript makes it easier to troubleshoot.
Suzanne
Mark Hensler posted this at 22:58 — 4th September 2000.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.
AndyB posted this at 14:19 — 29th August 2000.
They have: 344 posts
Joined: Aug 1999
KLWong posted this at 15:06 — 29th August 2000.
They have: 135 posts
Joined: Apr 2000
Ummm....don't put smilies in your code ?
(sorry, couldn't resist...)
Vincent Puglia posted this at 20:16 — 29th August 2000.
They have: 634 posts
Joined: Dec 1999
Hi,
What AndyB is saying is: watch your quotes. make sure they match.
What KLWong is saying is: use instead of
Hi KL: I also had to give in to temptation
Vinny
Where the world once stood
the blades of grass cut me still
Suzanne posted this at 03:26 — 30th August 2000.
She has: 5,507 posts
Joined: Feb 2000
document.write('');
You need to cancel out the quotes that are terminating quotes and make sure you are consistent. You shouldn't use single quotes for html.
Suzanne
Mark Hensler posted this at 05:12 — 30th August 2000.
He has: 4,048 posts
Joined: Aug 2000
don't hate me for asking, but why not use single quotes?
Vincent Puglia posted this at 07:29 — 30th August 2000.
They have: 634 posts
Joined: Dec 1999
Hi Max,
I think Suzanne means single as in 1 type of quote throughout. If you note, she's using both types of quotes in her solution.
Vinny
Suzanne posted this at 07:42 — 1st September 2000.
She has: 5,507 posts
Joined: Feb 2000
Yes, using all single or all double quotes is problematic. Also reserving the use of doubt quotes for HTML, and single quotes for JavaScript makes it easier to troubleshoot.
Suzanne
Mark Hensler posted this at 22:58 — 4th September 2000.
He has: 4,048 posts
Joined: Aug 2000
i gotcha
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.