While this seems to be a better way of reloading the first page (thanks!) it doesn't seem like you can affect the second page in another iframe with window.location, or can you? The pseudo code for what I want to do is kinda like this:
Start with pageA.php in iframeA, and pageB.php in iframeB.
Every 30 secs, reload pageA.php and (within pageA.php){
check database for refresh-iframeB-value();
if(database says refresh-iframe😎{
refresh(pageB.php in iframe😎;
}
}
And the one thing I can't figure out is how to refresh pageB.php in iframeB from within pageA.php in iframeA. Can't see if/how it would even be possible, I DID figure out how to refresh the main page with top.location.href which reloads both iframes, but this is not very pretty and not quite what I want to do, so, any thoughts? :/