KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel