jquery if attribute

Solutions on MaxInterview for jquery if attribute by the best coders in the world

showing results for - "jquery if attribute"
Lorenzo
09 Feb 2017
1if ( $('html').attr('lang') == 'fr-FR' ) {
2    // do this
3} else {
4    // do that
5}