Reputation: 37464
So I'm trying this: inner.children('.image:not(dont):last-child').width();
inner.children('.image:not(dont):last-child').width();
What is the correct way to combine not(classname) and :last-child?
Upvotes: 1
Views: 87
Reputation: 47667
Try
inner.children('.image:last-child:not(.dont)').width()
Upvotes: 2