I am trying to accomplish the following:
$('#myelement').parentsUntil( ".myStopper" ).css("overflow","visible");
However, while it is going through each parent element, I would like to check if the element has a css attribute "max-width". If this attribute exists, I want to skip applying the overflow:visible css and move on to the next parent.
I was hoping to create a function with parentsUntil, but I am not sure how to do that or if it's even possible.
Best regards, Gary