Thanks, obviously ideally I'd like my function to be XHTML-compliant as well. Fortunately I've worked out a way I can do what I want to do using just dashes, periods and alphanumeric characters.
Thanks for all the help. Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Berjon Sent: 07 June 2005 16:22 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Valid characters in ID attribute Chris Taylor wrote: > Great, thanks. I'm very pleased that I can use periods and colons, > that makes it much easier. Not sure this applies to your case but note that colons are fine in HTML but forbidden in XHTML. -- Robin Berjon Senior Research Scientist Expway, http://expway.com/ ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ****************************************************** ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************