> > I actually use '-' myself, which doesn't conflict with CSS, but jQuery > > still doesn't like them because of the attr() function translates > > this-name into thisName. > > I always use '-' in my ids and classes. This is really bad. I think that > should be fixed!
I'm really confused here - the .attr() function doesn't translate the property values, only the property names. So doing id='foo-bar', that works - you can do #foo-bar just fine. Does anyone have proof to the contrary? --John _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/