如何从iframe src调用javascript函数? [英] How to call javascript function from iframe src?
本文介绍了如何从iframe src调用javascript函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从iframe src调用javascript函数?
解决方案
请在主题中查看此示例
http://stackoverflow.com/questions/17229245/javascript-function-in-iframe- src [ ^ ]
使用window.parent.function名称
窗口跨度> .parent.function1()
How to call javascript function from iframe src?
解决方案
Please see this example on the thread
http://stackoverflow.com/questions/17229245/javascript-function-in-iframe-src[^]
use window.parent.function name
window.parent.function1()
这篇关于如何从iframe src调用javascript函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文