how to check attribute withg jquery 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
}