Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery if attribute

if ( $('html').attr('lang') == 'fr-FR' ) {
    // do this
} else {
    // do that
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #attribute
ADD COMMENT
Topic
Name
4+2 =