I have a problem with the events of JStree and the "<%" tag.
$("#jstree").bind("select_node.jstree", function(evt, data)
{
<% brancheSelectionnee(infosFilles[niveau][ligne][0]); %>
alert(data.node.text);
});
The "alert" show me the name of my node, everytime this node is selected but the function between <% %> is in my C#, and is called immediatly, even if my node is not clicked :
I want this function to be called just as the "alert", only when I click on the node.
nb : The alert is in a loop, stuck until I choose another node. It's not a problem, but I don't know if it is the normal behaviour