jsTree causes that links on whole page are broken
Posted
by niao
on Stack Overflow
See other posts from Stack Overflow
or by niao
Published on 2010-04-21T10:26:30Z
Indexed on
2010/04/21
10:33 UTC
Read the original article
Hit count: 386
Greetings, I have the following problem. In my asp.net mvc page (which is a partial view) I create an instance of jsTree as follows:
<script type="text/javascript">
$(function() {
$("#industries").tree({
callback: {
onselect: function(NODE, TREE_OBJ) {
$("#SelectedIndustryROWGUID").val($(NODE).attr("id"));
$("#resultMessage").append($(NODE).attr("rel"));
}
},
data: {
type: "json",
async: true,
opts: {
method: "GET",
url: "/CreateMessage/GetIndustries/"
}
}
});
});
this works fine but then, when I click on any link on the page, it does not work. The links are executed when I choose "open in new tab" option from context menu. Can someone please help me with this?
© Stack Overflow or respective owner