使用dialog
来源:互联网 发布:最新网络微信诈骗案例 编辑:程序博客网 时间:2024/06/05 18:43
头部
<link rel="stylesheet" type="text/css"
href="${ctx}/css/classics/jqueryui/smoothness/jquery-ui.min.css" />
<script src="${ctx}/js/mr/jquery-1.9.1.min.js"></script>
<script src="${ctx}/js/jqueryUI/jquery-ui-1.10.3.custom.min.js"></script>
javascript
complainDialog = $("#complainDialog");
complainDialog.load("${ctx}/complain/listBeautyOrg");complainDialog.dialog({
title : '选择机构',
iconCls : "icon-edit",
collapsible : false,
minimizable : false,
maximizable : false,
resizable : true,
width : 500,
height : 200,
modal : false,
buttons: {
"确定": function() {
var orgId = $("#selectOrgId").val();
console.log(orgId);
var category=2;//投诉
if(orgId==""){
alert("请选择医院");
}else{
complainDialog.dialog("close");
window.open("${ctx}/complain/toAddComplain?orgId="+orgId+"&category="+category+"&flag=1");//投诉
}
},
"取消": function() {
complainDialog.dialog("close");
}
}
});
jsp
<div id="complainDialog"></div><!-- 投诉 -->
0 0
- 使用dialog
- Dialog 使用技巧(asynchronous dialog)
- android开发中-使用Dialog managed dialog
- 使用dialog fragments方式创建Dialog
- dialog控件Sweet Alert Dialog简单使用
- Android Dialog大全 Dialog的使用
- Dialog & Windows 使用技巧
- Dialog & Windows 使用技巧
- Dialog & Windows 使用技巧
- Dialog中使用Toolbar
- Dialog & Windows 使用技巧
- Dialog & Windows 使用技巧
- 转载 DIALOG使用技巧
- Dialog 中使用ON_UPDATE_COMMAND_UI
- dialog中使用toolbar
- Dialog & Windows 使用技巧
- Dialog & Windows 使用技巧
- Dialog & Windows 使用技巧
- 如何内核奔溃???
- ReactiveCocoa v2.5 源码解析 之 架构总览
- 38. Count and Say
- 通过url获取Json格式的数据
- Lock和synchronized比较详解
- 使用dialog
- Android安全-数字证书
- avaya CM查看VDN指向的技能组
- Python使用wxPython报错解决方法
- 进程详解
- Longest Substring Without Repeating Characters(leetcode)
- ViewPager+Fragment出现的问题
- 超级台阶 OJ 76
- 什么是网站的样本设计