Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q1506 How do I have a dropdown menu selection automatically load a page into a new frame without hitting a submit button?

You are here: irt.org | FAQ | JavaScript | Form | Q1506 [ previous next ]


<select onChange="idx = this.selectedIndex; if (idx>0) top.otherframe.location=this.options[this.selectedIndex].value; this.selectedIndex=0;">
<option>Please select a page to go to</option>
<option value="page1.html">Home</option>
<option value="http://irt.org/">irt.org</option>

©2018 Martin Webb