日期:2014-05-17  浏览次数:20416 次

错误: '$.fn.zTree' 为空或不是对象 急在线等

 <link rel="stylesheet" type="text/css" href="../css/all.css" />
    <link rel="stylesheet" type="text/css" href="../css/index.css" />
    <link rel="stylesheet" type="text/css" href="../css/xitong.css" />
    <link href="../css/Common.css" rel="stylesheet" type="text/css" />
    <link href="../sysScripts/ztree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet"  type="text/css" />
    <link href="../sysScripts/ztree/css/Filetree.css" rel="stylesheet" type="text/css" />

    <script src="../sysScripts/jquery/1.7.2/Jquery.js" type="text/javascript"></script>
    <script src="../sysScripts/ztree/js/jquery.ztree.all-3.3.min.js" type="text/javascript"></script>
   
       <script type="text/javascript">

        var setting = {
            check: {
enable: true
//chkboxType: {"Y":"Ps", "N":"Ps"}
},
            view: {
selectedMulti: false
},
            data: {
                simpleData: {
                    enable: true
                }
            },
            callback: {
                beforeClick: beforeClick,
                onCheck: onCheck
            }
        };

         var setting2 = {
            data: {
                simpleData: {
                    enable: true
                }
            }
        };

        var zNodes = <% =BuildSectionTree() %>;
      
        var zNodes2source = [<% =strPermissionsText %>];
        var zNodes2=zNodes2source;

        function beforeClick(treeId, treeNode) {
var zTree = $.fn.zTree.getZTreeObj("treeSection");
zTr