I have a <div> with many <ul> descendants with different classes, and I am calling a function on this <div> which modifies the last <ul> with a given class. How do I select the last <ul> descendant with a specified class using $(this) jQuery selector?
I have a <div> with many <ul> descendants with different classes, and I am
Share
You can use the
lastmethod:Or the
:lastselector: