使用JavaScript在windows / tabs之间进行通信 [英] Communication between windows/tabs with JavaScript
本文介绍了使用JavaScript在windows / tabs之间进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何让同一网域上的两个分页(或视窗)能够彼此通话,而不必有一个视窗执行个体。
How can I have two tabs (or windows) that are on the same domain be able to talk to each other without having to have one window instance the other.
修改:为什么在另一个问题之前提出此问题时会被标记为重复?
推荐答案
选中此视频 http://bytes.com/topic/javascript/insights
Check this one http://bytes.com/topic/javascript/insights/913606-javascript-communication-between-browser-windows-tabs its all explained there.
或者看这个演示http://theprivateland.com/bncconnector/demo.htm
这篇关于使用JavaScript在windows / tabs之间进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文