Anyone know how to get the z-index of a div tag that returns the actual number and not 'Auto'?

Posted by Derrick on Stack Overflow See other posts from Stack Overflow or by Derrick
Published on 2010-05-24T12:42:04Z Indexed on 2010/05/24 12:51 UTC
Read the original article Hit count: 172

Filed under:
|
|

This gives me auto: I need the number, so I can move one above the other?

// Swop div index
$("#panel div").each(function(){
     alert($(this).css('z-index'));
});

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery