> "class" is a reserved word in JS, therefore the attribute is accessed > via className in the "normal" DOM. But the conflict may reappear for XML > documents. Did you try to use something else then class, apart from id?
You're right john: if I use a random attribute it does work as expected but I guess this breaks the compatibility with the SVG DTD. What may I use to keep a valid SVG document? (jake: I also gave a try without the quote, but it did not help). Thanks, Manu _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
