[JavaScript] Hide show a TD

Laurent Muchacho LaurentM at london.virgin.net
Tue Jun 22 03:52:46 CDT 2004


Hi 

Hassan is right and bringing the full spec is a nice one. But I would like
to had one thing If you use underscores("_") in your ids you might get a few
bug in netscape6 and 6.2 I learn to avoid them at the time ns6 went out all
the other browser are fine from my knowledge.

Laurent

-----Original Message-----
From: Hassan Schroeder [mailto:hassan at webtuitive.com]
Sent: 21 June 2004 19:05
To: [JavaScript List]
Subject: Re: [Javascript] Hide show a TD


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.


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript


This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.  If you have received this E-mail in error please notify the system manager.  This message contains confidential information and is intended only for the individual named.  If you are not the named addressee you should not disseminate, distribute or copy this E-mail.



More information about the Javascript mailing list