Answers for "jquery find element that has attribute"

0

jquery find element with avalue of attribute

$("ul").find(`[data-slide='${current}']`)
Posted by: Guest on July-16-2021
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 find element that has attribute"

Browse Popular Code Answers by Language