Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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

You are here: irt.org | FAQ | JavaScript | Frame | Q384 [ previous next ]

Try:

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

©2018 Martin Webb