3

Given a simple node, I'd like to handle click event on a node.

For example when you click on "cherry" on the page http://www.graphdracula.net/, an alert should popup.

ps: need new tag "dracula" but I don't have enough reputation to create it...

Satpal
  • 132,252
  • 13
  • 159
  • 168
pihentagy
  • 5,975
  • 9
  • 39
  • 58

1 Answers1

3

cant you simply do

$("#cherryID").live('click',function(){

//code here
});
Rafay
  • 30,950
  • 5
  • 68
  • 101