Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q384 With a button located in frame1, how do I change the contents of both frame1 and frame2 when it's clicked?

irt.org | Knowledge Base | JavaScript | Frame | Q384 [ previous next ]

Q384 With a button located in frame1, how do I change the contents of both frame1 and frame2 when it's clicked?

Try:

<form>
<input type="button" onClick="parent.frame2.location.href='apage.html';location.href='bpage.htm'">
</form>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.