How can I display different text from a different div when mouse click?
How can I display different text from a different div when mouse click? So
for each click on the pie should show different text from divs. How can I
do ?
This is the code : http://jsfiddle.net/r6p7E/19/ but I want something like
this : http://jsfiddle.net/hari_shanx/2ehdW/
click: function(event) { if(event.point.selected){ $("#content").hide();
}else{ $("#content").show(); $("#content").html(event.point.name) } }
No comments:
Post a Comment