当前位置:网站首页>[The method of calling the child page from the parent page of the iframe] Stepping on the pit: It is the key to use `[x]` when getting elements. You cannot use `.eq(x)`, otherwise it will not be obtai
[The method of calling the child page from the parent page of the iframe] Stepping on the pit: It is the key to use `[x]` when getting elements. You cannot use `.eq(x)`, otherwise it will not be obtai
2022-08-11 01:40:00 【Changan cc】
It is the key to use
[x]
when getting elements, and.eq(x)
cannot be used, otherwise it will not be obtained.
var iframe = $('body', parent.document).find('#LAY_app_body .layadmin-tabsbody-item').find(span>'iframe')[x];console.log(iframe);iframe.contentWindow.test();//test is a subPage methods
边栏推荐
- apache+PHP+MySQL+word press,安装word press时页面报错?
- 划分字母区间[贪心->空间换时间->数组hash优化]
- 进程间通信方式(1)无名管道(全CSDN最用心的博主)
- [ASM] The relationship between the role of the bytecode operation ClassWriter COMPUTE_FRAMES and visitMaxs
- How to build speed, speed up again
- Sigma开发注意细节
- C# using timer
- 【HFSS学习记录1】实例:宽带非对称多节定向耦合器设计
- 两日总结十一
- Sub-database sub-table ShardingSphere-JDBC notes arrangement
猜你喜欢
随机推荐
[GXYCTF2019]BabySQli
The concept of services
C # - delegate detailed usage
#yyds Dry Goods Inventory#[Yugong Series] August 2022 Go Teaching Course 008-Integer of Data Types
【iframe父页面调用子页面的方法】踩坑:获取元素的时候需要用 `[x]`是关键,不能用`.eq(x)`否则获取不到。
划分字母区间[贪心->空间换时间->数组hash优化]
Mysql database installation and configuration detailed tutorial
深度解析:什么是太爱速M抢单模式?
16. 最接近的三数之和
C#-委托的详细用法
ABP中的数据过滤器
ora-00001违反唯一约束
最新国产电源厂家及具体型号pin-to-pin替代手册发布
R language multiple linear regression, ARIMA analysis of the impact of different candidates in the United States on the economic GDP time series
Exception: try catch finally throws throw
成功解决raise TypeError(‘Unexpected feature_names type‘)TypeError: Unexpected feature_names type
dump_stack ()
Shell编程三剑客之sed
循环单词
如何防止离职员工把企业文件拷贝带走?法律+技术,4步走