> I've used the lang attribute of the html tag to extract the right > language for the links in a multilingual top level navigation. This is > the code i use > > var currentLang = $("html").eq(0).attr("lang"); > > I change the lang attribute with php. by doing that the site is also > semantically correct. we have three languages here so everything i do > has to be at least multiple language ready. > > Some people use the things you least expect :)
Well, I don't doubt that people use the lang attribute as intended (considering that I've never made a non-english site) - however, there's certainly never been a need for the ~= selector - which is only remotely useful with lang-related attributes. --John _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/