I have a complex structure with nested tables, rows, and cells, each containing div elements with multiple spans. I am trying to create a function that will capture the clicked cell every time I click on either the cell itself or any of its child elements (div, span#1, span#2, span#3).
My initial attempt involved adjusting the z-index property of the cells to be higher than that of the div and span elements in an effort to hide them behind the cells. Unfortunately, this approach did not yield the desired outcome.
You can view my current code here: http://jsbin.com/mocajahalu/2/edit?html,css,js,output
Any assistance would be greatly appreciated.