On Sunday, Aug 29, 2004, at 09:09 Australia/Sydney, Seona Bellamy wrote:
Well, I've found a way around the problem (used an incrementing counter
instead of the ID-number from the database, so each item has a unique ID) so
this question isn't exactly pressing any more.
I'd still love to know the answer though, if for no other reason than that
there's a good chance I'll use this script again in future and it would be
nice to know in advance if text-ID's are workable.
Seona, depending on the doctype you're using, ID's that are just numbers won't validate. They need to start with an alpha character - for XHTML 1 Strict, at least. But there again, if your project is for offline use, maybe validation doesn't matter... ;o)
N ___________________________ Omnivision. Websight. http://www.omnivision.com.au/
****************************************************** The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/ Web standards, accessibility, inspiration, knowledge To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************