[Javascript] Hide show a TD
Hassan Schroeder
hassan at webtuitive.com
Mon Jun 21 13:05:23 CDT 2004
Marcelo Wolfgang wrote (re using a numeric ID):
> but I've tested it here, and it worked ok, it's only 4 itens also, I
> will try my luck this time :)
Even if it worked in some browser (how many did you test?), it's
still wrong, and you *are* relying on luck if you use it...
Per the HTML spec:
ID and NAME tokens must begin with a letter ([A-Za-z]) and
may be followed by any number of letters, digits ([0-9]),
hyphens ("-"), underscores ("_"), colons (":"), and periods
(".").
FWIW!
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
More information about the Javascript
mailing list