Simple question. Can Javascript run from frame to frame? I want to load a page in one frame and have the other frame run Javascript on it. Can this work? What I'm trying to ultimately do is have a database of usernames/passwords and have Javascript log somebody into the website in one of the frames automatically. This way they don't need to know their username and password. Thanks!
Javascript can talk to other Javascript in a different frame, call functions, etc. What it can't do is communicate with Javacript that resides on a different domain, due to cross domain browser security measures. Here's some links which may be useful:- http://codepunk.hardwar.org.uk/bjs26.htm http://www.dyn-web.com/tutorials/iframes/refs.php