如何将主页上的javascript文件的值传递给iframe中的页面? [英] How to pass values fom the javascript file on the main page to the page inside the iframe ?

查看:80
本文介绍了如何将主页上的javascript文件的值传递给iframe中的页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表单default.aspx,在这个表单中我使用Iframe,iframe的src值是通过Javascript(main.js文件)设置的。此外,我在
javascript中设置iframe的src时,在查询中传递来自主要.js的值。

现在,由于查询字符串中的大小限制,我必须从querysting中删除值,但我仍然希望iframe中页面中的那些值..


任何人请建议我如何从iframe页面中的main.js文件中获取值?


Neelam Gupta

解决方案

Neelam,我想在IIS或MSDN论坛上发帖。
http://forums.iis.net
 这个帖子/主题的位置错误

I have a form default.aspx and within this form i m using Iframe and the src value for the iframe is setting through Javascript (main.js file) . Also, I am passing values from the main .js in the query sting at the time of setting the src for Iframe in the javascript.
Now, because of the size limitations in the query string i have to remove the values from the querysting but still i want those values in the page inside the iframe..
Anyone please suggest me how can i get the values from the main.js file in the page inside the Iframe ?


Neelam Gupta

解决方案

Neelam, I would susggest posting this in the IIS or MSDN forums. http://forums.iis.net This the the wrong location for this post/topic


这篇关于如何将主页上的javascript文件的值传递给iframe中的页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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