Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
(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?
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