<%@ 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>