modal的iframe中的button按下 怎么关闭modal

问题描述

<divid="modal"style="display:none"><divid="p"class="easyui-panel"title="编辑"style="width:450px;height:500px;padding:10px;"data-options="iconCls:'icon-edit'"><divclass="panel-tool"><aclass="simplemodal-closepanel-tool-close"href="javascript:void(0)"></a></div><iframeid="iframe"frameborder="0"scrolling="no"width="400"height="400"src="/Main/Test2"style="margin-left:25px;"></iframe><divstyle="width:100%"><ahref="javascript:void(0)"onclick="save()"class="easyui-linkbutton">保存</a><ahref="#"class="easyui-linkbuttonsimplemodal-close">取消</a></div></div></div>//这是用来做modal窗口的//iframe中的代码<inputtype="button"name="name"id="btn1"value="关闭1"/>

时间: 2024-08-04 04:26:51

modal的iframe中的button按下 怎么关闭modal的相关文章

自定义的cell中,button不显示图片文字 求大神告诉我下

问题描述 自定义的cell中,button不显示图片文字 求大神告诉我下 这是自定义的cell - (UIButton *)categoryBtn{ if (!_categoryBtn) { _categoryBtn = [[UIButton alloc]init]; _categoryBtn.backgroundColor = [UIColor yellowColor]; _categoryBtn.titleLabel.text = @""111111""; [_

asp.net怎么实现 在a页面中 通过button 在b页面的iframe里 打开c页面?

问题描述 asp.net怎么实现 在a页面中 通过button 在b页面的iframe里 打开c页面? 我现在首页上有个上传的按钮,如果没登录,点击会提醒登录,如果登陆了,就跳到会员中心的上传界面,会员中心是左侧显示菜单,右侧iframe显示界面,上传本身就是菜单中的一项,不知道怎么实现这个跳转,求助求助~~ 解决方案 <inpupt type="text" onclick="<%=Session["isonline"]==null?"

iframe中的jquery ui modal dialog 覆盖父窗口

Js代码   function openDialog(){          var $doc;          if(window.location!=window.parent.location){// <span style="color: #ff0000;">页面在iframe中</span>              $doc=window.parent.jQuery.noConflict();          }else{// <span 

ase ctivity-BaseActivity下自定义actionbar中的button设置点击事件无效,代码见下。

问题描述 BaseActivity下自定义actionbar中的button设置点击事件无效,代码见下. package com.lyri.main.base; import com.example.LlsqPs.R; import android.app.ActionBar;import android.app.Activity;import android.app.ActionBar.LayoutParams;import android.content.Context;import and

vb button 灰色-VB中button按下弹起的问题

问题描述 VB中button按下弹起的问题 1.我写了一个button,字体颜色为白色. 2.按下后button,字体变绿色. 2.弹起来后,在一定的时间段内,按钮灰调,不能按. 问题:1,2,3都已经实现了.可以按钮灰调时,字体的颜色为什么是绿色的. 三个button,只有一个出现这个问题,求解?

JavaScript实现iframe中操作父类的input

iframe中操作父类的input window.parent.document.getElementById('mark2').value=$('#rightPointer').val(); 在父窗口中操作 选中IFRAME中的所有输入框: $(window.frames["iframeSon"].document).find(":text"); 在IFRAME中操作 选中父窗口中的所有输入框: $(window.parent.document).find(&qu

Js/Jquery获取iframe中的元素 在Iframe中获取父窗体的元素方法

 在web开发中,经常会用到iframe,难免会碰到需要在父窗口中使用iframe中的元素.或者在iframe框架中使用父窗口的元素 js 在父窗口中获取iframe中的元素  1. 格式:window.frames["iframe的name值"].document.getElementByIdx_x("iframe中控件的ID").click(); 实例:window.frames["ifm"].document.getElementByI

在 Visual Studio .NET中使用Crystal Report(下) (cashcho翻译)

visual 在 Visual Studio .NET中使用Crystal Report(下) from www.aspfree.comtranslated by cash(天下第七)cashcao@msn.com(cashcao@msn.com) Crystal Report 演示-使用Push Model 下面看看如何使用Push Model实现Crystal Reports 1.创建一个设计时的dataset 2.创建一个.rpt文件并指向我们前面创建的dataset 3.在.aspx页面

解析Jquery取得iframe中元素的几种方法

iframe在复合文档中经常用到,利用jquery操作iframe可以大幅提高效率,这里收集一些基本操作,需要的朋友可以参考下   DOM方法:父窗口操作IFRAME:window.frames["iframeSon"].document IFRAME操作父窗口: window.parent.documentjquery方法:在父窗口中操作 选中IFRAME中的所有输入框: $(window.frames["iframeSon"].document).find(&q