Skip to content

Instantly share code, notes, and snippets.

@digitup
Created November 9, 2012 15:25
Show Gist options
  • Select an option

  • Save digitup/4046288 to your computer and use it in GitHub Desktop.

Select an option

Save digitup/4046288 to your computer and use it in GitHub Desktop.
jQuery - Get the HTML lang param
$('html')[0].lang
alert($('html').attr('lang'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment