How can I handle click event on a node in dracula graph library?
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...
cant you simply do
$("#cherryID").live('click',function(){
//code here
});
精彩评论