legu1 2015-05-06 03:33 采纳率: 0%
浏览 2811

easyui为什么不能用,如下是我页面的代码,老说找不到对象

 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>easyui test</title>
    <script type="text/javascript" src="../jquery-easyui-1.3.6/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../jquery-easyui-1.3.6/easyloader.js"></script>
    <script type="text/javascript" src="../jquery-easyui-1.3.6/jquery.min.js"></script>
    <script type="text/javascript" src="../../Scripts/jquery-1.7.1.min.js"></script>
</head>
<body>
    <h1>EasyLoader</h1>
    <a href="#" class="easyui-linkbutton" onclick="load1()">Load Calendar</a>
    <a href="#" class="easyui-linkbutton" onclick="load2()">Load Dialog</a>
    <div id="cc"></div>
    <div id="dd"></div>
    </body>
        <script type="text/javascript">

                    function load1() {
                        using('calendar', function () {
                            $('#cc').calendar({
                                width: 180,
                                height: 180
                            });
                        });
                    }
                    function load2() {
                        using(['dialog', 'messager'], function () {
                            $('#dd').dialog({
                                title: 'Dialog',
                                width: 300,
                                height: 200
                            });
                            $.messager.show({
                                title: 'info',
                                msg: 'dialog created'
                            });
                        });
                    }
    </script>
</html>
  • 写回答

5条回答 默认 最新

  • 逝_去_的_光_阴 2015-05-06 05:31
    关注

    页面没引easyui的js?

    评论

报告相同问题?