关于xMenu构建树型目录的问题
我在存储过程中生成的JavaScript代码如下:
<script type="text/javascript">
webfxMenuImagePath = "images/";
var myBar = new WebFXMenuBar;
var MENU_1 = new WebFXMenu;
myBar.add(new WebFXMenuButton("通用操作", null, "为所有操作员操作均能使用的动作", MENU_1));
var MENU_2 = new WebFXMenu;
MENU_2.add(new WebFXMenuItem("复制", "javascropt:parent.clientFrame.location.href=?fid=3", "Copy"));
MENU_2.add(new WebFXMenuItem("粘贴", "javascropt:parent.clientFrame.location.href=?fid=4", "Paste"));
MENU_2.add(new WebFXMenuItem("剪切", "javascropt:parent.clientFrame.location.href=?fid=5", "Cut"));
myBar.add(new WebFXMenuButton("编辑", null, "EDIT", MENU_2));
</script>
请问为何无法显示呢?