Answers for "jquery has attribute with any value"

2

jquery if attribute

if ( $('html').attr('lang') == 'fr-FR' ) {
    // do this
} else {
    // do that
}
Posted by: Guest on January-19-2021

Code answers related to "jquery has attribute with any value"

Code answers related to "Javascript"

Browse Popular Code Answers by Language