如何使用javascript将值从一帧移动到html中的另一帧 [英] how to move value from one frame to another frame in html using javascript
本文介绍了如何使用javascript将值从一帧移动到html中的另一帧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有两个分别名为f1和f2的框架.
在f1中,我有一个文本框和一个按钮.在文本框中输入一个值并按下按钮(均在框架f1中)后,该值应出现在框架f2中.我想在onclikc事件处理程序中完成f1按钮的操作.
我不知道该怎么办.
你能帮我吗?
预先谢谢您.
I have two frames named f1 and f2.
In f1 I have one textbox and one button. After introducing a value into the textbox, and pressing the button (both in the frame f1), The value should appear on the frame f2. I would like to get it done in the onclikc event handler for the f1 button.
I don''t know how to do it.
Could you help me?
Thank you in advance.
推荐答案
这似乎很适合您的需求:
http://www.pageresource.com/jscript/jframe1.htm [
This seems suitable for your needs:
http://www.pageresource.com/jscript/jframe1.htm[^]
Good luck!
这篇关于如何使用javascript将值从一帧移动到html中的另一帧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文