其他框架上的标签 [英] label on other frame

查看:73
本文介绍了其他框架上的标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含两个框架的页面都包含aspx文件

i需要在用户单击底部框架上的按钮时更改顶部框架中标签的文本。

我该怎么做?

解决方案

尝试使用jquery ..

看一下这个.. http://stackoverflow.com/questions/16272934 / how-to-assign-text-to-label-where-in-iframe-using-jquery [ ^ ]


< pre lang =cs> var iframes =


' #iframe-id',top.window.document);


i have a page with two frames both contain aspx files
i need to change the text of a label in the top frame when a user clicks a button on the bottom frame.
how can i do that?

解决方案

try using jquery ..
have a look at this one..http://stackoverflow.com/questions/16272934/how-to-assign-text-to-label-which-is-in-iframe-using-jquery[^]


 var iframes =


('#iframe-id', top.window.document);


这篇关于其他框架上的标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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