here is my fiddle.
It shows two headlines and two tables with table-cells.
What I’m trying to do is to alert the values in the table-cells below one headline when clicking a headline.
Example:
If one clicks on Headline1 there should be an alert with the values 5 and 2.
If one clicks on Headline2 there should be an alert with the value 6.
My problem is that I don’t get the values.
Have you got an idea?
Thanks for sharing it.
Try this:
http://jsfiddle.net/YAL7L/13/