Javascript: find top z-index

This page is provided to provide an example of the Javascript function for finding the top z-index. If you find any problems with the functionality of this script, we'd appreciate the feedback. You can drop us a quick note on our Contact page.

Click to add a random div and increase the z-index