开发者

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
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜