There is a problem. One page only has buttons, and one page has words. Then click this button, and the words on the other page will change color.
为情所困2017-06-07 09:25:05
This can help you
HTML5 postMessage communicates with the browser across windows
https://developer.mozilla.org...
B creates a message that listens to the message sent by window A, and changes color if the conditions are met
阿神2017-06-07 09:25:05
Thanks for the invitation!
There are many ways to achieve it:
1) ajax polling
2) php websocket, message push, page button message is pushed to the display page instantly
3) html postMessage cross-window messaging
In fact, it is all about letting the display get the displayed message