<script src="../../Script/jquery.js" type="text/javascript"></script>
      <script src="../../Script/weebox.js" type="text/javascript"></script>
    <script src="../../Script/bgiframe.js" type="text/javascript"></script>
  
    <link href="../../Style/weebox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
                        $(function () {
                            $("#add").click(function () {
                                $.weeboxs.open('BasicItem.aspx', { title: '新增基本资料', contentType: 'ajax',
                                    onok: function (box) {
                                        alert('点击确定按钮后!');                                        box.close(); //增加事件方法后需手动关闭弹窗                                    },
                                    oncancel: function (box) {
                                        alert('点击取消按钮后!');
                                        box.close(); //增加事件方法后需手动关闭弹窗                                    }
                                });
                            });
                        });
                    </script>    <input type="button" id="add" value="新增" />
我從網上下載的 原來的例子點擊確定取消 都正常 但是我放到我網頁里點擊新增第一次顯示正常
點擊第二次確定的時候就會出現
Microsoft JScript 运行时错误: '$.weeboxs' 为空或不是对象這是爲什麽? 高手解答下