JQuery filter
Takes a selector or a function to filter your selected elements.
$("*").filter(function() { return $(this).css('z-index') > 0 ? true : false; }).each(function() { $(this).css("border", "1px solid red"); console.log("z-index:" + $(this).css('z-index')); });
Advertisements
No trackbacks yet.