ex :
<html lang="en">
<html lang="en-US">
$("p:lang(de)").css("font-size","30px");
$("div:lang(en-us)").addClass("usa");
References :
https://www.w3schools.com/jquery/sel_lang.asp
https://api.jquery.com/lang-selector/
lang="en" 혹은 lang="en-us" 모두 사용 가능
'jQuery' 카테고리의 다른 글
[jQuery] $(document).ready() vs window.onload (0) | 2019.04.29 |
---|---|
[jQuery] How to smooth scroll to an id after clicking a link from another page (0) | 2019.04.27 |
[javascript] 동적으로 웹페이지 타이틀 변경 (0) | 2019.01.26 |
[jQuery] 접속 국가 ip check (0) | 2018.12.23 |
[jQuery] Page Redirection (0) | 2018.12.23 |