Find element with specified z-index

javascript, jquery

Solution

You have to iterate over all elements and check their z-index:

$('*').filter(function() {
    return $(this).css('z-index') == 10;
}).each(function() {
    // do something with them   
});

Problem

How to find HTML element(-s) with `z-index` = 10 for example?

Original source