如何从iframe调用Javascript函数 [英] How to call a Javascript function from iframe
本文介绍了如何从iframe调用Javascript函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的应用程序中使用了富文本编辑器。我从其中一个站点获得它。所有都是JS文件。
我的问题是,我想从iframe调用一个javascript函数。
在这方面有谁可以帮助我
Hi,
I have used a rich text editor in my application. I got it from one of the site.all are JS files.
My problem is, i want to call a javascript function from the iframe.
Can anybody help me in this regard
推荐答案
你用iframe做什么?
如果它只是一个盒子,你做这样的事情
what do you do with the iframe?
if it is just a box, you do something like this
展开 | 选择 | Wrap | 行号
>
我的要求是仅使用iframe。从iframe我想调用一个javascript函数。
Hi,
My requirement is using iframe only. from iframe i want to call a javascript function.
什么触发脚本执行?除了javascript函数之外,iframe的内容是什么?
what triggers the script to be executed? what''s the content of the iframe apart from a javascript function?
这篇关于如何从iframe调用Javascript函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文