John Resig schreef:
>  Honestly, I've never seen anyone use
> the lang attribute - let alone have a need to select it using a CSS
> selector. Hence the reason for removing it.
>   
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 :)

-- 
David Duymelinck
________________
[EMAIL PROTECTED]


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to