Graeme06
Technical User
- Jun 6, 2006
- 60
Hi, the last of three validation problems I'm having. I have a page with some Javascript, and this Javascript has a String declaration along the lines of:
word = "the word \"this\" is in quotations".
For it to work correctly, I need the escape character, but the validator gives me the message:
"an attribute value must be a literal unless it contains only name characters."
It isn't just this specific issue, it also complains about me joining two strings with the + character.
Why is this? Is there a way to stop Javascript from being validated?
Thanks,
Graeme
word = "the word \"this\" is in quotations".
For it to work correctly, I need the escape character, but the validator gives me the message:
"an attribute value must be a literal unless it contains only name characters."
It isn't just this specific issue, it also complains about me joining two strings with the + character.
Why is this? Is there a way to stop Javascript from being validated?
Thanks,
Graeme