Suppose I have an HTML document that looks like this:
<html lang="en"> ... </html>
My question is: how to get the value of the attribute lang with jQuery? I've tried $("html").attr("lang") but it did not work... any suggestions?
lang
$("html").attr("lang")