iframe提交点击不工作ie [英] iframe submit click not working in ie

查看:157
本文介绍了iframe提交点击不工作ie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网页中显示使用iframe的第三方网页iframe网页提交不能仅在IE中工作请帮助解决这个问题



我的aspx页面

In my web page showing third party page using iframe in that iframe web page submit not working only in IE please help to solve this problem

my aspx page

<asp:Content ID="GetSamples_MainContent" ContentPlaceHolderID="MainContent" runat="server">
    <div class="grid-12">
        <div class="grid-8" id="ssi_frame">
            <div class="margin-left-30px">
                <!--Modified By Q03619 -->
                <iframe width="900" name="ifr_GetSam" height="1350" frameborder="0" src="https://secure.startsampling.com/sm/dependus102702?type=all" ></iframe>
            </div>
        </div>
    </div>
    <div class="clear-both"></div>
    <img src="https://bh.contextweb.com/bh/set.aspx?action=add&advid=1363&token=KIMB1" width="1" height="1" border="0" />
</asp:Content>




iframe里面的






inside iframe

<div id="wrapper">
<form id="registrationform" target="ifr_GetSam" style="display:inline" method="post" action="addAddress.iphtml">
<input id="formSubmit" width="132" type="image" border="0" height="30" alt="Submit" src="public/images/btn_submit.jpg">
</form>
</div>

推荐答案

请试试这个



默认情况下,IFrame在IE7中不起作用。你必须去工具 - >互联网选项 - >安全选项卡 - >安全区域的自定义级别。向下滚动约75%,您应该找到在IFrame中启动程序和文件选项,选择启用。这应该允许iframe显示。默认情况下,此设置在IE6中启用,但在7中未启用。
Kindly try this

IFrames don't work in IE7 by default. You have to go to Tools -> Internet Options -> Security Tab -> Custom Level for security zone. Scroll down about 75%, you should find the 'Launching programs and files in an IFrame' option, select 'Enable'. This should allow Iframes to show up. This setting is enabled by default in IE6 but not in 7.


这篇关于iframe提交点击不工作ie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆