aparna
Newbie
Posts: 1
Registered: 5/11/2005
Member Is Offline
|
| posted on 5/11/2005 at 04:43 PM |
|
|
Get the name of node clicked
I am using the Tree Menu using your scirpts
tree_items.js , tree_tpl.js, tree.js
Its come out well. But I have a requirement :
When I click on a node, I want to get the name of that node to return. I dont find any function which can do this in tree.js.
Please let me know how can I do this. I need this badly.
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 5/12/2005 at 08:08 AM |
|
|
You could call custom JS function via item's link field:
['item text', "javascript:my_function('my_argument')"]
try
['item text', "javascript:alert('item text')"]
|
|
|