码迷,mamicode.com
首页 > 其他好文 > 详细

eazsy-ui

时间:2017-01-14 12:16:52      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:easyui   dial   head   post   closed   themes   get   oct   function   

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Basic EasyLoader - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css"
href="http://www.java1234.com/jquery-easyui-1.3.3/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
href="http://www.java1234.com/jquery-easyui-1.3.3/themes/icon.css">
<link rel="stylesheet" type="text/css"
href="http://www.java1234.com/jquery-easyui-1.3.3/demo/demo.css">
<script type="text/javascript"
src="http://www.java1234.com/jquery-easyui-1.3.3/jquery.min.js"></script>
<script type="text/javascript"
src="http://www.java1234.com/jquery-easyui-1.3.3/jquery.easyui.min.js"></script>
<script type="text/javascript"
src="http://www.java1234.com/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
<div id="tb"><select><option>请选择</option><option>1</option></select></div>
<input type="radio" title="语文" />
<div id="dd">Dialog Content.</div>
</body>
<script type="text/javascript">
$(‘#dd‘).dialog({
title : ‘title‘,
width : 500,
height : 500,
collapsible : true,//可以向上收缩
minimizable : false,//大写固定
closed : false,
cache : false,
maximizable : true,//最大化,最小化
resizable : true,//可以缩大
// toolbar : [ {
// text : ‘add‘,
// iconCls : ‘icon-edit‘,
// handler : show
// }, {
// text : ‘remove‘,
// iconCls : ‘icon-remove‘,
// handler : function() {
// alert("remove")
// }
// } ],
// toolbar:"#tb",
// buttons:[{text:‘add‘,iconCls:"icon-remove",handler:function(){alert("ok")}}],//在底部
buttons:"#tb",
href : ‘get_content.php‘,
modal : true
});
$(‘#dd‘).dialog(‘refresh‘, ‘new_content.php‘);
function show() {
$.post("", {}, function() {
alert("ok")
});
}
</script>
</html>

eazsy-ui

标签:easyui   dial   head   post   closed   themes   get   oct   function   

原文地址:http://www.cnblogs.com/javaweb2/p/6284992.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!