Response title
This is preview!




.prev(".class") issue and found the solution, .prevAll(".class:first"). However, that doesn't seem to work with multiple matched elements. The :first selector seems to be applied to the entire list at the end, what I would expect .prevAll(".class").first() to do. What I would rather have happen is the selector be applied to each element in the "result set". "li:jqmData(role=list-divider):has(~ li:jqmData(important=true))" but that obviously gets all dividers above the list-item marked important. © 2012 jQuery Foundation
Sponsored by
and others.
