点击iframe中的提交按钮 [英] Click submit button from iframe

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

问题描述

我在第一帧中有两个iframe包含提交按钮,我想从第二个iframe点击该提交按钮。我怎么能这样做?

I have two iframes in first frame contain submit button and i want to click that submit button from second iframe. How can I do this ?

推荐答案

将第二个iFrame提交按钮更改为普通按钮类型,第二个按钮的onClick事件应该调用第一个按钮点击事件。 />




请记住避免第二帧中的所有提交类型
Change the second iFrame submit button as normal button type and onClick event of the 2nd button should call the first button click event.


Remember to avoid all submit types in 2nd frame


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

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