I was wondering, is it possible to use a function, say gotoLink() in the Link element of the Tree array?
I want to call the function like this:
[Item 1, gotoLink('Item1','http://i.am.link1/'),null]
Do note that there is more than 1 parameter passed to the function, and it seems that the comma is screwing things up a bit.
Thank you in advance.
The correct syntax would be:
Thank you for your quick response.
This works like a charm. Thanks for pointing out what the correct syntax is.