Hi,
> > resolve div#music to #music... ?
>
> Err, no, that wouldn't be a good idea, in case someone actually *wants*
> to distinguish between elements here... (although I cannot think of a
> concrete example right now).
Well, it would be possible to use getElementByID('music') and then see if the
returned node is a div. It would deffinately be faster than using
getElementsByTagName('div') and search that list for the one with the
ID 'music'. I don't know what John did use.
Christof
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/