Board Logo

Get the name of node clicked
aparna - 5/11/2005 at 04:43 PM

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 - 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')"]


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/