title: Changing z-index to make a clicked div appear on top
body: <p>In my application I can open several div boxes that overlap each other. When clicking on a box that box should be moved to the top. What is the best way to accomplish this?</p>
  
  <p>The only thing I can think of is looping through all the boxes z-index values to get the highest value, and then add 1 to that value and apply it on the clicked div.</p>
  
  <p>Any advices for me?</p>