This question is locked. New answers and comments are not allowed.
Hi,
I'm using the ClientEvents as described in the samles to run a javascript function when a treeview node is clicked (onSelect).
In the javascript function I can get the .text() of the node, but what I really need is the value. How can I get it?
function onSelect(e) {
var item = $(e.item);
alert(item.text());
alert(item.value()); //Doesn't work :(
}
I'm using the ClientEvents as described in the samles to run a javascript function when a treeview node is clicked (onSelect).
In the javascript function I can get the .text() of the node, but what I really need is the value. How can I get it?
function onSelect(e) {
var item = $(e.item);
alert(item.text());
alert(item.value()); //Doesn't work :(
}