带弹出窗口的document.URL [英] document.URL with popup
问题描述
我在网上搜索了很多,但我找不到有用的东西!!
情景:
我有我的主页,我打开一个弹出窗口。
用户可以在弹出窗口浏览,看到不是我网页的页面!
问题:
此时我想获得弹出的实际网址!
解决方案:
我试图使用document.URL,但没有使用主窗口而不是我想要的弹出窗口。
显然弹出窗口有一个名字,我尝试在document.URL中使用它,但是没有一个使用它的例子!
所以我希望你能帮助我,我希望使它成为可能!!
非常感谢你
saludos
我在网上搜索了很多,但我找不到有用的东西!!
场景:
我有我的主页,我打开一个弹出窗口。
用户可以在弹出窗口中浏览,看到的页面不是''我的网页!
问题:
此时我想获得弹出的实际网址!
解决方案:
我试图使用document.URL,但没有使用主窗口而不是我想要的弹出窗口。
显然弹出窗口有一个名字,我尝试在document.URL中使用它,但是没有一个使用它的例子!
所以我希望你能帮助我我想让它变得可能!!
非常感谢你
saludos
您可能会发现这有用......
http://www.webreference.com/js/tutorial1/index.html
你可能会发现这个使用......
http:/ /www.webreference.com/js/tutorial1/index.html
非常感谢您的链接非常有趣,但我找不到它解决我的问题!!
问题仍然是一样的,我无法打开弹出窗口并在主页面中找到链接那个时刻确切的弹出窗口的网址!
任何想法?
提前感谢
当你打开弹出窗口时,保持对弹出窗口的引用。
然后展开 | 选择 | Wrap | 行号
I have search a lot in the web, but I was not able to find something useful!!
SCENARIO:
I have my home page and I open a pop-up window.
The user can browse in the pop-up window seeing pages that aren''t mine web pages!
PROBLEM:
At this point I would like to get the pop-up actual URL!
SOLUTION:
I tried to use document.URL but nothing it use the main windows and not the pop-up like I want.
Obviously the pop-up window has a name and I try to use it in document.URL, but nowhere there is an example using it!
So I hope you can help me I would like to make it possible!!
thanks you so much
saludos解决方案I have search a lot in the web, but I was not able to find something useful!!
SCENARIO:
I have my home page and I open a pop-up window.
The user can browse in the pop-up window seeing pages that aren''t mine web pages!
PROBLEM:
At this point I would like to get the pop-up actual URL!
SOLUTION:
I tried to use document.URL but nothing it use the main windows and not the pop-up like I want.
Obviously the pop-up window has a name and I try to use it in document.URL, but nowhere there is an example using it!
So I hope you can help me I would like to make it possible!!
thanks you so much
saludosYou may find this of some use...
http://www.webreference.com/js/tutorial1/index.html
You may find this of some use...
http://www.webreference.com/js/tutorial1/index.html
Thank you so much the link is really interesting, but I can''t find in it the solution to my problem!!
The problem''s still the same, I am not able to open a popup and get back with a link in the main page the exact popup''s url at that moment!
Any idea??
thanks in advance
When you open the popup, keep a reference to the popup.
ThenExpand|Select|Wrap|Line Numbers
这篇关于带弹出窗口的document.URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文