在fancybox iframe中打开形式
open form in fancybox iframe
我需要将*一些数据发布到页面[PopUp.aspx],而不刷新当前页面。然后[PopUp.aspx]将获得对fancybox iframe的请求和响应,我想继续在[PopUpaspx]中的控件上进行交互。
有什么建议吗?
下面是代码,但返回的数据是纯html的结果,我无法与页面内的控件进行交互[PopUp.aspx]
function onSubmit(ctr)
{
$.fancybox.showActivity();
$.ajax({
type: "POST",
cache: false,
url: "PopUp.aspx",
data: $(ctr).serializeArray(),
success: function (data) {
$.fancybox(data);
}
});
}
*[Form-Get]方法未优化,因此使用[Form-Post]方法
// Display an external page using an iframe
var src = "http://365.ericmmartin.com/";
$.modal('<iframe src="' + src + '" height="450" width="830" style="border:0">', {
closeHTML:"",
containerCss:{
backgroundColor:"#fff",
borderColor:"#fff",
height:450,
padding:0,
width:830
},
overlayClose:true
});
相关文章:
- Fancybox iFrame not showing up
- FancyBox退出IFRAME回调
- FancyBox将DIV的内容显示为iFrame类型
- Fancybox-无法在iframe中打开类似facebook的框
- FancyBox iframe在第三页访问后打开
- 如何将附加内容放入fancybox iframe
- Fancybox - 将图像和 iframe 组合在一个图库中
- Youtube IFrame Internet Explorer上的Fancybox错误
- 关闭包含YouTube电影的Fancybox-iframe时出现IE JS错误
- PDF 未显示在 IE9、10 和 11 的 fancybox 2 iframe 中
- 在fancybox iframe中打开形式
- 在没有手动打开的情况下,从Iframe调用父级中的Fancybox
- fancybox iframe内容未通过jquery函数显示
- 无法关闭Fancybox iFrame
- 点击传单弹出菜单中的链接时,打开Fancybox Iframe
- 对以编程方式打开的fancybox iframe进行样式化
- 总是在fancyBox iframe中打开html页面
- Fancybox iframe内容-如何从父级访问CSS
- 将值/变量从fancybox iframe传递给父节点
- 在FancyBox Iframe中打开了一个FancyBox小部件,由于FancyBox Widget Width/He