謝晒的PHP網頁設計
聯絡E-mail:
sean0704@gmail.com
站內搜尋
Friday, March 21, 2014
[jQuery] 判斷瀏覽器語系
$
(
function
()
{
var
lang =
window
.navigator.userLanguage ||
window
.navigator.language ;
var
autolang=lang.toLowerCase
()
;
alert
(
autolang
)
;
}
)
;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment