Answers for "jquery get aria-label value"

0

jquery get aria-label value

$(".togSubList").each(function () {
        var bob = $(this).find(".parent_link").text();

        $(this).find(".sub-expand_collapse[aria-expanded='false']").attr("aria-label","expand " + bob);
         $(this).find(".sub-expand_collapse[aria-expanded='true']").attr("aria-label","close " + bob);
            

    });
Posted by: Guest on November-03-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language