$(document).ready(function (event) {
$(".wijmo-wijtree-node").mousedown(function (e) {
if (e.button == 2) {
$(this).parent().c1treeviewnode("option", "selected", "true");
} else if (e.button == 0) {
$(".C1Menu1").c1menu("hideAllMenus", e.button);
}
});
});
是这样写的吗?
|