[thelist] Can you create tags in xhtml?

Leif Singer me at yoonicks.com
Wed Feb 18 10:02:42 CST 2004


> However, I can't think of any reliable method of getting a pointer to 
> the collection of divs whose class is editWidgets (from a .js file).
You might want to take a look at the source of 
http://www.andreas-waidelich.de/content/labor/getElementsByClassName.html

> So, I thought that barring a solution to that problem, I could simply 
> create my own tag to substitute for the div element and do a 
> getElementsByTagname on that element. This is in the body of an xhtml 
> strict doctype.
The doctype defines the tags, so no, there is no way to have your own 
tags im xhtml.

Best regards

Leif Singer


More information about the thelist mailing list