easyDialog.open 嵌套调用问题 easyDialog.open嵌套调用 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!DOCTYPE html><html><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>EasyUI Demo</title><link rel="stylesheet" type="text/css" href="../jquery/jquery-easyui-1.3.3/themes/default/easyui.css"><link rel="stylesheet" type="text/css" href="../jquery/jquery-easyui-1.3.3/themes/icon.css"><link rel="stylesheet" type="text/css" href="../jquery/jquery-easyui-1.3.3/demo/demo.css"><script type="text/javascript" src="../jquery/jquery-1.10.0.min.js"></script><script type="text/javascript" src="../jquery/jquery-easyui-1.3.3/jquery.easyui.min.js"></script><script type="text/javascript" src="../jquery/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js"></script> <script type="text/javascript">$(function(){$('#cityTree').dialog("open");$('#dd').dialog({ toolbar:[{ text:'Edit', iconCls:'icon-edit', handler:function(){alert('edit')} },{ text:'Help', iconCls:'icon-help', handler:function(){alert('help')}}], title: '请选择城市', width: 300, height:200, closed: true, cache: false, modal: true});$('#dd2').dialog({ toolbar:[{ text:'Edit', iconCls:'icon-edit', handler:function(){alert('edit')} },{ text:'Help', iconCls:'icon-help', handler:function(){alert('help')}}], title: '请选择城市', width: 300, height:200, closed: true, cache: false, modal: true});$('#dd2').dialog("open");$('#dd').dialog("open");}) </script></head><body><div id="dd"> <div id="dd2"></div></div><!-- 创建对话框通过标记从现有的DOM节点 --> </body></html> 我试了可以啊 你是封装了吧 你的两个弹出层 用的同一个DIV元素吧 解决了。哈哈。。去掉close然后在最后加一句 return false;俺每次都忘了加这一句。很烦。哎。。 请问图片下方加上标题切换? 基于jQuery的Picklist插件 javaScript 实现鼠标位置控制 哪位高手帮帮忙! 请问,我写了一个select复写匡,可是在传递给下个serlet的时候,老得不到列表的值,求大虾解决 怎么将用confirm弹出的窗口默认为取消 自动发送 返回到前一页的问题? JS 数组问题 怎样才能不被谷歌解码呢? jQuery手写幻灯片,点击下面的banner只能切换到下一张。下面是代码求解答 手机端访问jsp问题
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EasyUI Demo</title><link rel="stylesheet" type="text/css" href="../jquery/jquery-easyui-1.3.3/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../jquery/jquery-easyui-1.3.3/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../jquery/jquery-easyui-1.3.3/demo/demo.css">
<script type="text/javascript" src="../jquery/jquery-1.10.0.min.js"></script>
<script type="text/javascript" src="../jquery/jquery-easyui-1.3.3/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../jquery/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js"></script> <script type="text/javascript">
$(function(){$('#cityTree').dialog("open");
$('#dd').dialog({
toolbar:[{ text:'Edit', iconCls:'icon-edit', handler:function(){alert('edit')} },{ text:'Help', iconCls:'icon-help', handler:function(){alert('help')}}],
title: '请选择城市',
width: 300,
height:200,
closed: true,
cache: false,
modal: true
});$('#dd2').dialog({
toolbar:[{ text:'Edit', iconCls:'icon-edit', handler:function(){alert('edit')} },{ text:'Help', iconCls:'icon-help', handler:function(){alert('help')}}],
title: '请选择城市',
width: 300,
height:200,
closed: true,
cache: false,
modal: true
});$('#dd2').dialog("open");
$('#dd').dialog("open");
})
</script></head>
<body>
<div id="dd">
<div id="dd2">
</div></div>
<!-- 创建对话框通过标记从现有的DOM节点 -->
</body>
</html>
去掉close
然后在最后加一句
return false;俺每次都忘了加这一句。很烦。哎。。