easyui老报缺少对象
这是我整个页面的代码,老报缺少对象,在using(....)这一行,是说Using不能这么使用吗?
<!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="../../Scripts/jquery-1.7.1.min.js"></script>*@
<script type="text/javascript" src="../jquery-easyui-1.3.6/jquery.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.easyui.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>
<!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="../../Scripts/jquery-1.7.1.min.js"></script>*@
<script type="text/javascript" src="../jquery-easyui-1.3.6/jquery.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.easyui.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>
...全文
相关推荐
EasyUI InsdepTheme EasyUI的皮肤美化 免费版
InsdepTheme免费版,非商业的,现在官网好像没法下载了。
EasyUI总结
EasyUI总结
easyui-textbox和easyui-combobox的onchange事件响应实例
这是我自己总结出来easyui-textbox和easyui-combobox的onchange事件响应实例,绝对可用,网上很多实例都无法运行,这个我亲自测试可用使用才传上来的,供大家参考学习。
jQuery插件EasyUI获取当前Tab中iframe窗体对象的方法
主要介绍了jQuery插件EasyUI获取当前Tab中iframe窗体对象的方法,涉及EasyUI窗体操作的相关技巧,需要的朋友可以参考下
Bootstrap风格的EasyUI
内核是EasyUI,界面风格为Bootstrap,功能和美观完美结合!方便前后端的开发!本例提供两种风格。用.NET MVC 做了一个demo。欢迎下载体验!


