Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
(dojo tree) how can I bind an event with the text?
posted 9 years ago
Anyone tried dojo toolkit for tree component? I have a small doubt in that.
<div class="dojo-Tree"> <div class="dojo-TreeNode" title="<%= aJavaVariable %>"> <div class="dojo-TreeNode" title="<%= bJavaVariable %>"></div> </div> </div>
Here, value of the title attributes are displayed in the tree as text i.e. aJavaVariable is 'dad' and bJavaVariable is 'son' then son will be under dad...
Now I want to associate an onClick event on the text (when I click on say 'son' an alert
pop up), how to do that?
How can I bind (associate) an event with the text?
rocket mass heater
Boost this thread!
unable to view primefaces tree
How to show icons in Tree using DOJO 0.4
Can't get RequestDispatcher forward() method or response.sendRedirect() to work
JQuery Selector Help needed
DOJO Tree using 0.4