So I’m trying to figure out if I can call a function inside of find() as below but I’m not getting anything returned to the console. Is this possible with find() or do I need to find an alternative?
$(".tdInner1").find(".block", function () {
if( $(this).next().hasClass("continuation") ) {
console.log("yes");
} else {
console.log("no");
}
});
Sounds like you want
.each().Or maybe
.filter()