What I'm trying to achieve is, to have a page with dynamic content which can be toggled on and off without refreshing the page. The problem is, that content needs to be toggled on and off by another page. Both pages are opened at the same time, and one controls if the other should display some certain content or not. It doesn't have to strictly be in javascript, but I assumed the solution might use javascript.
One of the pages will be 'inside' the other by the use of an Iframe, i've tried many dynamic content scripts (written in ajax), and can never manage to get the page trapped inside the iframe to control content in the page with the iframe. How can I use ajax to do this (i've tried but unsuccessful)