My problem:
I have a row of div tags that act as header to columns when the user hovers over them the div changes to sort options such as ASC and DESC. What i need them to do is when the user clicks on one of the options an alert will pop up with the click option the value and the div class name.
example if the user clicked on ASC an alert would pop up saying headerID ASC 1 or headerID DESC 2 if clicked on desc.
For the life of me I can not figure this out. Right now I'm testing with alert then I will be using .load() to load a page with sorting option
div = headerID
sort = ASC
value = 1
or
div = headerID
sort = DESC
value = 2
depending on what was clicked.
demo of what I already have http://jsfiddle.net/hmeHn/1/