I m going to use the text from the jquery example, For example, consider the HTML:
<lots of divs to get to here>
<div id="#targetid_0">
Click here
</div>
<div id="#targetid_1">
Trigger the handler
</div>
I have a series of questions that are plaguing me...
Assuming that I click on Click Here or Trigger the Handler :
- If I m assigning a value via the attr(targetid_x,JSON.ID), how can I use alert to show me that value? It s driving me nuts!
- How do I find out the specific clicked #tag? (sort of related to question 1).
I d like to see if this can be accomplished with Event Delegation or at least without classes.
Halp!