Asp.net Jquery Dialog 2
来源:互联网 发布:linux 退出gdb调试 编辑:程序博客网 时间:2024/06/05 05:18
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Untitled Page</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"></script>
<link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/start/jquery-ui.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function openModalDiv(divname) {
$('#' + divname).dialog({
autoOpen: false,
buttons: {
Ok: function () {
$("[id*=Button1]").click();
},
Close: function () {
$(this).dialog('close');
}
}
});
$('#' + divname).dialog('open');
$('#' + divname).parent().appendTo($("form:first"));
}
function closeModalDiv(divname) {
$('#' + divname).dialog('close');
}
</script>
</head>
<body>
<form id="form1" runat="server">
<input id="Button3" type="button" value="Open 1" onclick="javascript:openModalDiv('Div1');" />
<div id="dialog" style="display:none">
Click OK to do PostBack!
</div>
<div id="Div1" title="Basic dialog" style="display:none">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
postback test<br />
<input id="Ok" type="text" value="OK"/>
</ContentTemplate>
<asp:UpdatePanel>
</div>
<asp:Button ID="Button1" runat="server" Text="Button" style = "display:none" OnClick = "Button1_Click" />
</form>
</body>
</html>
- Asp.net Jquery Dialog 2
- Jquery Dialog based on ASP.NET
- Asp.net JQuery UI Dialog Postback
- 解决jquery Dialog不响应asp.net事件的问题
- ASP.NET中使用JQuery UI Dialog致表单无法提交的解决方法
- 在ASP.NET下使用jQuery UI下的Dialog产生提交空值问题
- [Asp.net]在JQuery-UI Dialog下使用服务器端按钮失效
- 在ASP.NET下使用jQuery UI下的Dialog,服务器端按钮无响应的问题。
- 在ASP.NET下使用jQuery UI下的Dialog,服务器端按钮无响应的问题。
- ASP.NET页面使用JQuery EasyUI生成Dialog后台取值为空
- 在ASP.NET下使用jQuery UI下的Dialog,服务器端按钮无响应的问题
- Asp.Net+Jquery.Ajax详解2-$.Load
- jquery ajax asp.net
- asp.net + jquery
- ASP.NET结合Jquery
- ASP.NET结合Jquery
- asp.net jquery ajax
- jquery for ASP.Net
- 【Unity3D 游戏开发之一】搭建Unity3D环境&导出自带Demo示例
- 炫彩界面库设计
- Session的生命周期
- 重新定位自己
- 实际项目中的常见算法
- Asp.net Jquery Dialog 2
- 一些琐碎的思绪
- C++TR1和C++0x简单介绍
- Json序列化
- 卸载QQ时出现问题
- 如何修改WAMP中mysql默认空密码
- 数组大折腾2
- 安装后打开 eclipse 很可能会弹出对话框出现警告信息
- 获取数字特定因子元素的个数