Chuck W. wrote:
Matt this is perfect.
It's not. Perfect is a solution if it also works without
client-side scripting, just as input[type="radio"] elements do.
Works just like I need if I do this:
<SCRIPT LANGUAGE="JavaScript">
<!-- \\
[...]
\\ -->
What the heck is this?
1. the `language' attribute is deprecated in HTML4, the `type'
attribute is #REQUIRED: Use <script type="text/javascript">,
or, if you want to adhere to the now Informational RFC[1]
"Scripting Media Types", <script type="application/javascript">.
2. HTML comment delimiters (to more precise: SGML declarations
containing only comments) are `<!--' and `-->', not `<!-- \\
and `\\ -->' (there are no backslashes involved anyway,
single-line comments are introduced by `//' -- `\\' there
results in a script error).
3. It is an obsolete practice and considered harmful to try using
HTML comment delimiters to try to comment out `script' element
CDATA contents.
PointedEars
___________
[1] See
<http://www1.ietf.org/mail-archive/web/ietf-announce/current/msg01349.html>