jquery check value of attribute code example
Example: jquery if attribute
if ( $('html').attr('lang') == 'fr-FR' ) {
// do this
} else {
// do that
}
if ( $('html').attr('lang') == 'fr-FR' ) {
// do this
} else {
// do that
}